Edgewall Software

Changes between Version 5 and Version 6 of ExtraPermissionsProvider


Ignore:
Timestamp:
Aug 3, 2014, 8:41:48 PM (8 years ago)
Author:
Peter Suter
Comment:

Syntax highlight .ini snippets

Legend:

Unmodified
Added
Removed
Modified
  • ExtraPermissionsProvider

    v5 v6  
    44
    55To add new permissions, create a new section `[extra-permissions]` in [TracIni#extra-permissions-section trac.ini]. Every entry in that section defines a meta-permission and a comma-separated list of permissions. For example:
    6 {{{
     6{{{#!ini
    77[extra-permissions]
    88extra_admin = extra_view, extra_modify, extra_delete
     
    1111
    1212If you don't want a meta-permission, start the meta-name with an underscore (`_`):
    13 {{{
     13{{{#!ini
    1414[extra-permissions]
    1515_perms = extra_view, extra_modify