Changes between Version 10 and Version 11 of ComponentPermissionsPlugin
- Timestamp:
- Mar 19, 2015, 10:45:02 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ComponentPermissionsPlugin
v10 v11 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 = Component permissions plugin =3 2 4 == Description == 3 = Component permissions plugin 4 5 == Description 5 6 6 7 This plugin provides permissions based on ticket components. For example, having a component `foobar` it will provide permission `COMPONENT_FOOBAR_VIEW` which is then required to access the ticket with this component. 8 9 == Bugs/Feature Requests 10 11 Please use [https://github.com/trac-hacks/trac-componentpermissions/issues GitHub] for any issues you have with ComponentPermissionsPlugin. 12 13 == Download 14 15 Download the zipped source from [https://github.com/trac-hacks/trac-componentpermissions/archive/master.zip here]. 16 17 == Source 18 19 You can clone ComponentPermissionsPlugin from [https://github.com/trac-hacks/trac-componentpermissions here] using git, or [https://github.com/trac-hacks/trac-componentpermissions browse the source] on GitHub. 20 21 == Installation 22 23 {{{ 24 pip install ComponentPermissionsPlugin 25 }}} 26 27 For more information, please follow [http://trac.edgewall.org/wiki/TracPlugins#InstallingaTracPlugin documentation] on how to install Trac's plugins. 28 29 == Configuration 7 30 8 31 After installation you have to configure which field it checks to enable component permission checking: … … 18 41 }}} 19 42 20 You should also add the component somewherenear the beginning of the `permission_policies` list:43 You should also add the component near the beginning of the `permission_policies` list: 21 44 22 45 {{{ … … 53 76 Setting `hide_components` to `true` will hide components from ticket and other forms if user does not have permission for them. Works if not using a custom field. 54 77 55 == Bugs/Feature Requests == 56 57 Please use [https://github.com/trac-hacks/trac-componentpermissions/issues GitHub] for any issues you have with ComponentPermissionsPlugin. 58 59 == Download == 60 61 Download the zipped source from [https://github.com/trac-hacks/trac-componentpermissions/archive/master.zip here]. 62 63 == Source == 64 65 You can clone ComponentPermissionsPlugin from [https://github.com/trac-hacks/trac-componentpermissions here] using git, or [https://github.com/trac-hacks/trac-componentpermissions browse the source] on GitHub. 66 67 == Installation == 68 69 {{{ 70 pip install ComponentPermissionsPlugin 71 }}} 72 73 For more information, please follow [http://trac.edgewall.org/wiki/TracPlugins#InstallingaTracPlugin documentation] on how to install Trac's plugins. 74 75 == Author/Contributors == 78 == Author/Contributors 76 79 77 80 '''Author:''' [wiki:mitar] [[BR]]