Mercurial > p > roundup > code
comparison doc/design.txt @ 1039:42924a2fcacf
minor doc change for new cgi
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 04 Sep 2002 04:30:36 +0000 |
| parents | 299f4890427d |
| children | 43ab730ee194 |
comparison
equal
deleted
inserted
replaced
| 1038:a8101aa90814 | 1039:42924a2fcacf |
|---|---|
| 1483 ''' Add the permission to the role's permission list. | 1483 ''' Add the permission to the role's permission list. |
| 1484 | 1484 |
| 1485 'rolename' is the name of the role to add permission to. | 1485 'rolename' is the name of the role to add permission to. |
| 1486 ''' | 1486 ''' |
| 1487 | 1487 |
| 1488 Modules such as ``cgi_client.py`` and ``mailgw.py`` define their own | 1488 Modules such as ``cgi/client.py`` and ``mailgw.py`` define their own |
| 1489 permissions like so (this example is ``cgi_client.py``):: | 1489 permissions like so (this example is ``cgi/client.py``):: |
| 1490 | 1490 |
| 1491 def initialiseSecurity(security): | 1491 def initialiseSecurity(security): |
| 1492 ''' Create some Permissions and Roles on the security object | 1492 ''' Create some Permissions and Roles on the security object |
| 1493 | 1493 |
| 1494 This function is directly invoked by security.Security.__init__() | 1494 This function is directly invoked by security.Security.__init__() |
