Commits

Ezio Melotti  committed 1fd5ec6

Allow Users and Developers to see more fields (should fix #543).

  • Participants
  • Parent commits 12eb5a6

Comments (0)

Files changed (1)

 db.security.addPermissionToRole('Developer', 'SB: May Classify')
 
 # Allow Users and Developers to view most user properties.
-p =  db.security.addPermission(name='View', klass='user',
-   properties=('id', 'username', 'address', 'realname', 'phone',
-         'organisation', 'alternate_addresses', 'timezone'))
+p = db.security.addPermission(name='View', klass='user',
+        properties=('id', 'username', 'address', 'realname', 'phone',
+                    'organisation', 'alternate_addresses', 'timezone',
+                    'roles', 'contrib_form', 'iscommitter', 'homepage'))
 db.security.addPermissionToRole('User', p)
 db.security.addPermissionToRole('Developer', p)
 # Coordinator may view all user properties.