Restrict permission to change custom fields

57 views
Skip to first unread message

Ivanelson Nunes

unread,
Dec 10, 2012, 3:28:51 PM12/10/12
to trac-...@googlegroups.com
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 but had no success.  

[components]
blackmagic.* = enabled
[trac]
permission_policies =  BlackMagicTicketTweaks, DefaultPermissionPolicy
[blackmagic]
due_close.permission = TRAC_ADMIN

RjOllos

unread,
Dec 11, 2012, 3:30:14 PM12/11/12
to trac-...@googlegroups.com
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.

ynoslenav

unread,
Dec 12, 2012, 1:43:26 PM12/12/12
to trac-...@googlegroups.com
Rjollos,

Yes the field was protected, but still not what I want.

Opening the ticket I leave the field unprotected and protected only after the ticket written.

To protect against user not edited by ADMIN.

RjOllos

unread,
Dec 12, 2012, 2:52:53 PM12/12/12
to trac-...@googlegroups.com
On Wednesday, December 12, 2012 10:43:26 AM UTC-8, ynoslenav wrote:
Rjollos,

Yes the field was protected, but still not what I want.

Opening the ticket I leave the field unprotected and protected only after the ticket written.

To protect against user not edited by ADMIN.


I see. It wasn't very clear at first. I don't know of a way that you can accomplish this with existing plugins without making some modifications to them. 

Ivanelson Nunes

unread,
Dec 12, 2012, 8:17:15 PM12/12/12
to trac-...@googlegroups.com
In fact, I look for an option that considers time and estimated delivery Ticket.

One option which is set a deadline explicitly.
Or a standard term.
Of course, after the ticket written, ordinary users can not change the delivery date.

2012/12/12 RjOllos <ry...@physiosonics.com>

--
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/-/iWN1tlBZqNsJ.

To post to this group, send email to trac-...@googlegroups.com.
To unsubscribe from this group, send email to trac-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.

Reply all
Reply to author
Forward
0 new messages