Opened 14 years ago

Closed 14 years ago

#3275 closed enhancement (fixed)

Only Require TICKET_ADMIN Permissions

Reported by: John Hampton Owned by: osimons
Priority: normal Component: CustomFieldAdminPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


Currently a user needs TRAC_ADMIN permission in order to manage custom ticket fields. It would be nice to be able to allow a user to admin the custom fields without giving them access to the remaining trac config. TICKET_ADMIN could be used for this, or another permission, perhaps, TICKET_CUSTOM_ADMIN could be created.

Attached is a patch that implements the new TICKET_CUSTOM_ADMIN permission. However, simply using TICKET_ADMIN would be just as well for me.

Attachments (1)

ticket_custom_permisison.patch (1.4 KB) - added by John Hampton 14 years ago.
Patch creating a new TICKET_CUSTOM_ADMIN permission

Download all attachments as: .zip

Change History (6)

Changed 14 years ago by John Hampton

Patch creating a new TICKET_CUSTOM_ADMIN permission

comment:1 Changed 14 years ago by osimons

Yeah, see your point. I'm not too keen on adding to the burden of managing yet another permission, and if anything changing to TICKET_ADMIN would be fine by me.

I would like to hear what other users would prefer as well. Anyone out there?

comment:2 Changed 14 years ago by Daniel Adrian

I also think that TICKET_ADMIN is the way to go.

comment:3 Changed 14 years ago by anonymous

As long as the TICKET_ADMIN user only sees what he can change on WebAdmin, I'm for it. Otherwise, I think it can get confusing.

comment:4 Changed 14 years ago by John Hampton

Indeed, this is how it works. If a user only has TICKET_ADMIN permissions, then they will only see the Ticket section of the webadmin.

comment:5 Changed 14 years ago by osimons

Resolution: fixed
Status: newclosed

(In [4016]) CustomFieldAdminPlugin: The "Ay's" have it. For 0.11 and future versions the plugin will only require TICKET_ADMIN permission to modify custom fields.

Closes #3275.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain osimons.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.