| 1 | == Access Control & Permissions == |
| 2 | |
| 3 | The default system has most data available to Read by anonymous users & Edit/Delete by registered users. |
| 4 | |
| 5 | Registered Users are added to Roles. |
| 6 | * All registered users get the 'Authenticated' role (id 2) by default |
| 7 | * The 1st registered user gets the 'Administrator' role (id 1) by default |
| 8 | |
| 9 | === Control access to a Module === |
| 10 | Add an {{{access = "|x|",}}} line to the relevant module section in {{{models/000_config.py}}}. |
| 11 | - where 'x' is the ID of the role that should be allowed access to the module |
| 12 | |
| 13 | This both hides the menu item & blocks access to the whole /module/ hierarchy. |
| 14 | |
| 15 | === Control access to a Function === |
| 16 | * BluePrintAuthorization#Functionrestriction |
| 17 | |
| 18 | === Control access to a Resource === |
| 19 | * BluePrintAuthorization#Resourcerestriction |
| 20 | |
| 21 | === Control access to a Record === |
| 22 | * BluePrintAuthorization#Recordrestriction |
| 23 | |
| 24 | ---- |
| 25 | UserGuidelines |