Changeset 9308


Ignore:
Timestamp:
7 Oct 2012, 21:48:26 (12 years ago)
Author:
Henrik Bettermann
Message:

Add test for checking if also global roles are removed after deleting users. This test fails which means handle_account_removed must be extended.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/authentication.txt

    r8984 r9308  
    145145   []
    146146
    147 the local role has gone.
     147the local role has gone and also the site roles have been removed:
     148
     149   >>> prm = IPrincipalRoleManager(root['app'])
     150   >>> [x[0] for x in prm.getRolesForPrincipal('alice')
     151   ...      if x[0].startswith('waeup.')]
     152   []
    148153
    149154
Note: See TracChangeset for help on using the changeset viewer.