Mercurial > p > roundup > code
comparison templates/classic/schema.py @ 2653:09e0d37abada
typo
| author | Alexander Smishlajev <a1s@users.sourceforge.net> |
|---|---|
| date | Wed, 28 Jul 2004 06:42:42 +0000 |
| parents | 1df7d4a41da4 |
| children | b9a55628a78d |
comparison
equal
deleted
inserted
replaced
| 2652:281beec48408 | 2653:09e0d37abada |
|---|---|
| 129 p = db.security.getPermission('Web Access') | 129 p = db.security.getPermission('Web Access') |
| 130 db.security.addPermissionToRole('Anonymous', p) | 130 db.security.addPermissionToRole('Anonymous', p) |
| 131 | 131 |
| 132 # Let anonymous users access the email interface (note that this implies | 132 # Let anonymous users access the email interface (note that this implies |
| 133 # that they will be registered automatically, hence they will need the | 133 # that they will be registered automatically, hence they will need the |
| 134 # "Create" user Prmission below) | 134 # "Create" user Permission below) |
| 135 p = db.security.getPermission('Email Access') | 135 p = db.security.getPermission('Email Access') |
| 136 db.security.addPermissionToRole('Anonymous', p) | 136 db.security.addPermissionToRole('Anonymous', p) |
| 137 | 137 |
| 138 # Assign the appropriate permissions to the anonymous user's Anonymous | 138 # Assign the appropriate permissions to the anonymous user's Anonymous |
| 139 # Role. Choices here are: | 139 # Role. Choices here are: |
| 155 # db.security.addPermissionToRole('Anonymous', p) | 155 # db.security.addPermissionToRole('Anonymous', p) |
| 156 # p = db.security.getPermission('Edit', cl) | 156 # p = db.security.getPermission('Edit', cl) |
| 157 # db.security.addPermissionToRole('Anonymous', p) | 157 # db.security.addPermissionToRole('Anonymous', p) |
| 158 | 158 |
| 159 | 159 |
| 160 # vim: set filetype=python sts=4 sw=4 et si | 160 # vim: set filetype=python sts=4 sw=4 et si : |
