Mercurial > p > roundup > code
comparison templates/classic/schema.py @ 3276:3124e578db02
Email fixes:
- fix checking of "Email Access" for Anonymous email registration [SF#177057]
- disable "Email Access" for Anonymous by default to stop spam regsitering
users on public trackers
- doc fixes / additions too
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 13 Apr 2005 03:38:23 +0000 |
| parents | 14322134dcef |
| children | 7fb8cfe3c737 |
comparison
equal
deleted
inserted
replaced
| 3274:3e216b862018 | 3276:3124e578db02 |
|---|---|
| 122 db.security.addPermissionToRole('Anonymous', 'Web Access') | 122 db.security.addPermissionToRole('Anonymous', 'Web Access') |
| 123 | 123 |
| 124 # Let anonymous users access the email interface (note that this implies | 124 # Let anonymous users access the email interface (note that this implies |
| 125 # that they will be registered automatically, hence they will need the | 125 # that they will be registered automatically, hence they will need the |
| 126 # "Create" user Permission below) | 126 # "Create" user Permission below) |
| 127 db.security.addPermissionToRole('Anonymous', 'Email Access') | 127 # This is disabled by default to stop spam from auto-registering users on |
| 128 # public trackers. | |
| 129 #db.security.addPermissionToRole('Anonymous', 'Email Access') | |
| 128 | 130 |
| 129 # Assign the appropriate permissions to the anonymous user's Anonymous | 131 # Assign the appropriate permissions to the anonymous user's Anonymous |
| 130 # Role. Choices here are: | 132 # Role. Choices here are: |
| 131 # - Allow anonymous users to register | 133 # - Allow anonymous users to register |
| 132 db.security.addPermissionToRole('Anonymous', 'Create', 'user') | 134 db.security.addPermissionToRole('Anonymous', 'Create', 'user') |
