Changeset 12842


Ignore:
Timestamp:
1 Apr 2015, 08:45:13 (10 years ago)
Author:
Henrik Bettermann
Message:

Skip User Processor if user isn't allowed to manage users.

Location:
main/waeup.ikoba/trunk/src/waeup/ikoba/browser
Files:
1 added
1 edited

Legend:

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

    r12816 r12842  
    975975            if not x.util_name in ikoba_utils.BATCH_PROCESSOR_NAMES:
    976976                continue
     977            # Skip User Processor if user isn't allowed to manage users.
     978            if x.util_name == 'userprocessor' and not checkPermission(
     979                'waeup.manageUsers', self.context):
     980                continue
    977981            iface_fields = schema.getFields(x.iface)
    978982            available_fields = []
Note: See TracChangeset for help on using the changeset viewer.