Mercurial > p > roundup > code
comparison website/issues/schema.py @ 4335:a4dc087f3088 website
fix perm
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 01 Feb 2010 00:27:26 +0000 |
| parents | c2d0d3e9099d |
| children | a403c29ffaf9 |
comparison
equal
deleted
inserted
replaced
| 4316:91df6e19d81d | 4335:a4dc087f3088 |
|---|---|
| 124 assignee=Link('user'), | 124 assignee=Link('user'), |
| 125 status=Link('status'), | 125 status=Link('status'), |
| 126 resolution=Link('resolution'), | 126 resolution=Link('resolution'), |
| 127 superseder=Link('issue'), | 127 superseder=Link('issue'), |
| 128 keywords=Multilink("keyword")) | 128 keywords=Multilink("keyword")) |
| 129 db.security.addPermission(name='Register', klass='user', | |
| 130 description='User is allowed to register new user') | |
| 131 | |
| 129 | 132 |
| 130 # | 133 # |
| 131 # TRACKER SECURITY SETTINGS | 134 # TRACKER SECURITY SETTINGS |
| 132 # | 135 # |
| 133 # See the configuration and customisation document for information | 136 # See the configuration and customisation document for information |
| 325 #db.security.addPermissionToRole('Anonymous', 'Email Access') | 328 #db.security.addPermissionToRole('Anonymous', 'Email Access') |
| 326 | 329 |
| 327 # Assign the appropriate permissions to the anonymous user's Anonymous | 330 # Assign the appropriate permissions to the anonymous user's Anonymous |
| 328 # Role. Choices here are: | 331 # Role. Choices here are: |
| 329 # - Allow anonymous users to register | 332 # - Allow anonymous users to register |
| 330 db.security.addPermissionToRole('Anonymous', 'Create', 'user') | 333 db.security.addPermissionToRole('Anonymous', 'Register', 'user') |
| 331 | 334 |
| 332 # Allow anonymous users access to view issues (and the related, linked | 335 # Allow anonymous users access to view issues (and the related, linked |
| 333 # information). | 336 # information). |
| 334 | 337 |
| 335 for cl in 'issue', 'severity', 'status', 'resolution', 'msg', 'file': | 338 for cl in 'issue', 'severity', 'status', 'resolution', 'msg', 'file': |
