Edgewall Software

Changes between Version 4 and Version 5 of TracDev/PluginDevelopment/ExtensionPoints/trac.perm.IPermissionPolicy


Ignore:
Timestamp:
Jul 28, 2014, 7:56:21 PM (10 years ago)
Author:
Peter Suter
Comment:

Link another mailing list discussion / example

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/PluginDevelopment/ExtensionPoints/trac.perm.IPermissionPolicy

    v4 v5  
    2222See [#DebugPolicy], [#PublicWikiPolicy], [#SecurityTicketsPolicy]
    2323
    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:
    2525{{{
    2626#!python
     
    3838}}}
    3939
    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:
    4141{{{
    4242#!python
     
    7070                return False
    7171}}}
     72
     73
     74 * Another [Trac-ML:36200/focus=36220 discussion] involves a special policy checking ticket resolution and recursive permissions tests.
    7275
    7376== Available Implementations ==