Changes between Version 11 and Version 12 of UserGuidelines/Admin/Permissions
- Timestamp:
- 11/16/13 21:03:01 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UserGuidelines/Admin/Permissions
v11 v12 78 78 79 79 If you need to add ACLs after pre-pop (e.g. on a live production server): 80 * Have an auth_roles.csv with just the title row & the newACLs which you wish to add, e.g.:80 * Have an auth_roles.csv with just the title row & the ACLs which you wish to add, e.g.: 81 81 {{{ 82 82 uid,role,controller,function,uacl … … 85 85 * Have a tasks.cfg with just the line to import the roles: 86 86 {{{ 87 *,import_role,auth_roles.csv 87 echo "*,import_role,auth_roles.csv" > /tmp/tasks.cfg 88 88 }}} 89 89 * Copy both of these files to a folder on the server (e.g. /tmp) … … 92 92 w2p 93 93 }}} 94 * Type these commands into that shell: 94 * To clear all existing permissions (if you are doing a full replacement rather than just adding a new one): 95 {{{ 96 s3db.s3_permission.truncate() 97 db.commit() 98 }}} 99 * To import roles: 95 100 {{{ 96 101 auth.override = True