Changes between Version 4 and Version 5 of TracDev/PluginDevelopment/ExtensionPoints/trac.perm.IPermissionPolicy
- Timestamp:
- Jul 28, 2014, 7:56:21 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDev/PluginDevelopment/ExtensionPoints/trac.perm.IPermissionPolicy
v4 v5 22 22 See [#DebugPolicy], [#PublicWikiPolicy], [#SecurityTicketsPolicy] 23 23 24 * [ http://thread.gmane.org/gmane.comp.version-control.subversion.trac.devel/393/focus=401 Mailing list post] with an example IPermissionPolicy implementation that blocks access to ticket 666. Here an updated version:24 * [Trac-Dev:393/focus=401 Mailing list post] with an example IPermissionPolicy implementation that blocks access to ticket 666. Here an updated version: 25 25 {{{ 26 26 #!python … … 38 38 }}} 39 39 40 * Another [ http://thread.gmane.org/gmane.comp.version-control.subversion.trac.devel/393/focus=402 mailing list post] with an example IPermissionPolicy implementation based on [h:TagsPlugin]. (Adding a tag 'john:view' on a wiki page or ticket would allow the user 'john' to WIKI_VIEW or TICKET_VIEW that resource. Adding a tag 'john:-view' would disallow it.) Here an updated version:40 * Another [Trac-Dev:393/focus=402 mailing list post] with an example IPermissionPolicy implementation based on [h:TagsPlugin]. (Adding a tag 'john:view' on a wiki page or ticket would allow the user 'john' to WIKI_VIEW or TICKET_VIEW that resource. Adding a tag 'john:-view' would disallow it.) Here an updated version: 41 41 {{{ 42 42 #!python … … 70 70 return False 71 71 }}} 72 73 74 * Another [Trac-ML:36200/focus=36220 discussion] involves a special policy checking ticket resolution and recursive permissions tests. 72 75 73 76 == Available Implementations ==