source: waeup/branches/ulif-namespace/src/waeup/sirp/permissions.txt @ 4920

Last change on this file since 4920 was 4920, checked in by uli, 15 years ago

Make unit tests run again with the new package layout.

File size: 495 bytes
Line 
1WAeUP permissions and roles
2***************************
3
4Permissions and roles used in a WAeUP portal.
5
6:Test-Layer: unit
7
8
9Before we can do something useful with roles and permissions, we have
10to register them. This can be done simply by grokking the `waeup`
11package:
12
13    >>> import grok
14    >>> grok.testing.grok('waeup')
15
16We can get all roles defined in a WAeUP portal:
17
18    >>> from waeup.sirp.permissions import getRoles
19    >>> getRoles()
20    ['waeup.PortalManager', 'waeup.PortalUser']
21
Note: See TracBrowser for help on using the repository browser.