Ignore:
Timestamp:
1 Feb 2017, 16:49:19 (8 years ago)
Author:
Henrik Bettermann
Message:

Only user 'admin' is allowed to access the DatacenterSettings page.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py

    r14170 r14491  
    18121812    def update(self, newpath=None, move=False, overwrite=False,
    18131813               save=None, cancel=None):
     1814        if self.request.principal.id not in (
     1815            'admin', 'zope.manager', 'zope.mgr'):
     1816            self.redirect(self.url(self.context))
     1817            return
    18141818        if move:
    18151819            move = True
Note: See TracChangeset for help on using the changeset viewer.