Changes between Version 11 and Version 12 of TracConfigurablePermissionPlugin


Ignore:
Timestamp:
Jan 15, 2021, 2:53:38 PM (3 years ago)
Author:
Andrew G. Khodotov
Comment:

Remark about faulty example

Legend:

Unmodified
Added
Removed
Modified
  • TracConfigurablePermissionPlugin

    v11 v12  
    8484}}}
    8585This rule reads: Only the owner of the ticket can modify it.
     86----
     87**REM to '''Example 3''':**
     88Permissions to modify ticket is {{{TICKET_CHGPROP}}} (only edit properties) and {{{TICKET_MODIFY}}} (in addition allows resolving tickets in the default workflow).
     89Macro for current user is {{{$USER}}}.
     90So, right sentence for mission "only the owner of the ticket can modify it" is
     91{{{#!ini
     92[configurable-permission-rules]
     93owner_edit_only = ticket, TICKET_MODIFY, owner=$USER, *, allow-only
     94owner_edit_only = ticket, TICKET_CHGPROP, owner=$USER, *, allow-only
     95}}}
     96But unfortunately this great idea don't work anyway :-(
     97----
     98
    8699
    87100== !Bugs/Feature Requests