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