Last change
on this file since 5260 was
5140,
checked in by uli, 15 years ago
|
Update all unit tests that use the ZCA to run inside the new unit test layer.
|
File size:
340 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 | |
---|
| 9 | We can get all roles defined in a WAeUP portal: |
---|
| 10 | |
---|
[4920] | 11 | >>> from waeup.sirp.permissions import getRoles |
---|
[4127] | 12 | >>> getRoles() |
---|
| 13 | ['waeup.PortalManager', 'waeup.PortalUser'] |
---|
| 14 | |
---|
Note: See
TracBrowser for help on using the repository browser.