On Monday, December 10, 2012 12:28:51 PM UTC-8, ynoslenav wrote: > In my Trac environment, I have 02 custom field, which are: due_assign and > due_close > > I want to restrict only the ADMIN user can change these fields. So how can > I do this? > > > I tried > BlackMagicTicketTweaksPlugin<http://trac-hacks.org/wiki/BlackMagicTicketTweaksPlugin> > but > had no success. > > [components]blackmagic.* = enabled > > [trac]permission_policies = BlackMagicTicketTweaks, DefaultPermissionPolicy > > [blackmagic]due_close.permission = TRAC_ADMIN > > You also need:
[blackmagic]tweaks = due_close > > If you still have no luck, you'll need to set TracLogging to debug, perform the edit action and try to determine why the permission is not being enforced. http://trac.edgewall.org/wiki/TracLogging -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/trac-users/-/Y11c11ubywcJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
