Last change
on this file since 6110 was
6059,
checked in by uli, 14 years ago
|
Fix permission tests (we made applicant roles 'local').
|
File size:
406 bytes
|
Line | |
---|
1 | WAeUP permissions and roles |
---|
2 | *************************** |
---|
3 | |
---|
4 | Permissions and roles used in a WAeUP portal. |
---|
5 | |
---|
6 | .. :doctest: |
---|
7 | .. :layer: waeup.sirp.testing.WAeUPSIRPUnitTestLayer |
---|
8 | |
---|
9 | We can get all roles defined in a WAeUP portal (except 'local' roles |
---|
10 | that are meant not to be assigned globally): |
---|
11 | |
---|
12 | >>> from waeup.sirp.permissions import getRoles |
---|
13 | >>> getRoles() |
---|
14 | ['waeup.PortalManager', 'waeup.PortalUser'] |
---|
15 | |
---|
Note: See
TracBrowser for help on using the repository browser.