Changes between Version 11 and Version 12 of UserGuidelines/Admin/Permissions


Ignore:
Timestamp:
11/16/13 21:03:01 (8 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UserGuidelines/Admin/Permissions

    v11 v12  
    7878
    7979If 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 new ACLs 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.:
    8181{{{
    8282uid,role,controller,function,uacl
     
    8585* Have a tasks.cfg with just the line to import the roles:
    8686{{{
    87 *,import_role,auth_roles.csv
     87echo "*,import_role,auth_roles.csv" > /tmp/tasks.cfg
    8888}}}
    8989* Copy both of these  files to a folder on the server (e.g. /tmp)
     
    9292w2p
    9393}}}
    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{{{
     96s3db.s3_permission.truncate()
     97db.commit()
     98}}}
     99* To import roles:
    95100{{{
    96101auth.override = True