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

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

Merge changes from ulif-layout back into trunk (finally).

File size: 490 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.permissions import getRoles
19    >>> getRoles()
20    ['waeup.PortalManager', 'waeup.PortalUser']
21
Note: See TracBrowser for help on using the repository browser.