wiki:UserGuidelines/Admin/Permissions

Version 1 (modified by Fran Boon, 14 years ago) ( diff )

--

Access Control & Permissions

The default system has most data available to Read by anonymous users & Edit/Delete by registered users.

Registered Users are added to Roles.

  • All registered users get the 'Authenticated' role (id 2) by default
  • The 1st registered user gets the 'Administrator' role (id 1) by default

Control access to a Module

Add an access = "|x|", line to the relevant module section in models/000_config.py.

  • where 'x' is the ID of the role that should be allowed access to the module

This both hides the menu item & blocks access to the whole /module/ hierarchy.

Control access to a Function

Control access to a Resource

Control access to a Record


UserGuidelines

Note: See TracWiki for help on using the wiki.