Changes between Initial Version and Version 1 of ComponentPermissionsPlugin


Ignore:
Timestamp:
Jul 22, 2011, 5:22:22 PM (13 years ago)
Author:
Mitar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ComponentPermissionsPlugin

    v1 v1  
     1= Component permissions plugin =
     2
     3== Description ==
     4
     5This plugin provides permissions based on ticket components. For example, having a component `foobar` it will provide permission `COMPONENT_FOOBAR_VIEW`. If configured field is checked than this permission is required to access the ticket with this component.
     6
     7After installation you have to configure which field it checks to enable component permission checking:
     8
     9{{{
     10[component-permissions]
     11ticket_field_name = privacy
     12}}}
     13
     14For example, this can be such custom ticket field:
     15
     16{{{
     17[ticket-custom]
     18privacy = checkbox
     19privacy.label = Privacy sensitive
     20privacy.value = 0
     21}}}
     22
     23You should also add the component somewhere near the beginning of the `permission_policies` list:
     24
     25{{{
     26permission_policies = ComponentPermissionsPolicy, DefaultPermissionPolicy, LegacyAttachmentPolicy
     27}}}
     28
     29== Bugs/Feature Requests ==
     30
     31Please use [https://bitbucket.org/mitar/trac-componentpermissions/issues Bitbucket] for any issues you have with ComponentPermissionsPlugin.
     32
     33== Download ==
     34
     35Download the zipped source from [https://bitbucket.org/mitar/trac-componentpermissions/get/tip.zip here].
     36
     37== Source ==
     38
     39You can clone ComponentPermissionsPlugin from [https://bitbucket.org/mitar/trac-componentpermissions here] using Mercurial, or [https://bitbucket.org/mitar/trac-componentpermissions/src browse the source] on Bitbucket.
     40
     41== Installation ==
     42
     43Please follow [http://trac.edgewall.org/wiki/TracPlugins#InstallingaTracPlugin documentation] on how to install Trac's plugins.
     44
     45== Author/Contributors ==
     46
     47'''Author:''' [wiki:mitar] [[BR]]
     48'''Maintainer:''' [wiki:mitar] [[BR]]
     49'''Contributors:'''