Opened 16 years ago
Last modified 8 years ago
#7651 new enhancement
Allow wildcards in permission add/remove
Reported by: | 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 , 16 years ago
Milestone: | → 2.0 |
---|
comment:3 by , 8 years ago
Keywords: | trac-admin added; console removed |
---|
Could be interesting, but the ideas presented should be fleshed out somewhat.