Ignore:
Timestamp:
1 Jul 2024, 09:09:56 (6 months ago)
Author:
Henrik Bettermann
Message:

Even if some universities allow anonymous users to view the academic section, local roles can only be seen by authenticated users.

File:
1 edited

Legend:

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

    r17809 r17829  
    335335
    336336    def getUsersWithLocalRoles(self):
     337        # Even if some universities allow anonymous users to view
     338        # the academic section, local roles can only be seen by
     339        # authenticated users.
     340        if not checkPermission('waeup.Authenticated', self.context):
     341            return []
    337342        return get_users_with_local_roles(self.context)
    338343
Note: See TracChangeset for help on using the changeset viewer.