Changes between Version 10 and Version 11 of TracConfigurablePermissionPlugin


Ignore:
Timestamp:
Apr 28, 2018, 2:45:55 AM (2 years ago)
Author:
Cauly
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracConfigurablePermissionPlugin

    v10 v11  
    3535permission_policies = ConfigurablePermissionPolicy,ReadonlyWikiPolicy,DefaultPermissionPolicy,LegacyAttachmentPolicy
    3636}}}
     37----
     38The rules are configured in `[configurable-permission-rules]` section.
    3739
    3840Syntax for a custom permission rule: {{{(rule_name) = ticket|wiki, (action), (matching_condition), (permission), (result)}}}, where:
     
    5052  * `pass`: Leave this action to further policy groups, such as DefaultPermissionPolicy. Recommended against 'allow'.
    5153  * `pass-only`: Leave this action to further policy groups, such as DefaultPermissionPolicy, and deny all other users without the given permission. Recommended against 'allow-only'.
     54
     55**So in conclusion a single rule reads:**\\
     56''When performing **(action)** to tickets/wikis that fits **(matching_condition)**, those users with **(permission)** will be **(result)**.''
     57
     58multiple rules will run in order of (rule_name), and the last matching rule will come into effect.
    5259
    5360'''Example 1''':