Modify

Opened 6 years ago

Closed 6 years ago

#3275 closed enhancement (fixed)

Only Require TICKET_ADMIN Permissions

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

Description

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 pacopablo 6 years ago.
Patch creating a new TICKET_CUSTOM_ADMIN permission

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by pacopablo

Patch creating a new TICKET_CUSTOM_ADMIN permission

comment:1 Changed 6 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 6 years ago by paradoxpixel

I also think that TICKET_ADMIN is the way to go.

comment:3 Changed 6 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 6 years ago by pacopablo

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 6 years ago by osimons

  • Resolution set to fixed
  • Status changed from new to closed

(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.

Add Comment

Modify Ticket

Action
as closed The owner will remain osimons.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.