Edgewall Software
Modify

Opened 16 years ago

Last modified 7 years ago

#7651 new enhancement

Allow wildcards in permission add/remove

Reported by: jorge.vargas@… Owned by:
Priority: lowest Milestone: unscheduled
Component: admin/web Version: 0.12dev
Severity: normal Keywords: admin trac-admin web
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

This is a nice feature I'll like to have, I will code a patch if there is interest.

Basically every time I set up a new trac I need to go back to TracPermissions and reread everything to build a list of permissions and use trac-admin to get it up, in the form of a long list of permissions.

So I'm suggesting we should add a * support

Example usage. with trac-admin

$ trac-admin <env> permission add *_VIEW 
$ trac-admin <env> permission add TICKET_* #not that useful was we have TICKET_ADMIN but....

On the webadmin we'll have a second box, not the dropdown where you will type *_VIEW and it will give the user/group all those permissions, instead of having to make 11 requests.

Another option for the webadmin will be to reuse the "click grid" so you could click all the permissions then set the user/group and click a "add permissions button"

Attachments (0)

Change History (3)

comment:1 by Remy Blank, 16 years ago

Milestone: 2.0

Could be interesting, but the ideas presented should be fleshed out somewhat.

comment:2 by Christian Boos, 14 years ago

Milestone: 2.0unscheduled

Milestone 2.0 deleted

comment:3 by Ryan J Ollos, 7 years ago

Keywords: trac-admin added; console removed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.