Modify ↓
Opened 16 years ago
Last modified 8 years ago
#8332 new enhancement
trac-admin permission masks
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | unscheduled |
Component: | admin/console | Version: | none |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
It would be convenient to use masks in trac-admin permission command.
permission list [user] -- List permission rules permission add <user> <action> [action] [...] -- Add a new permission rule permission remove <user> <action> [action] [...] -- Remove permission rule
i.e.
permission list [user] [-m mask] -- List permission rules $ trac-admin list -m *_VIEW User Action ---------------------- user1 MILESTONE_VIEW user1 REPORT_VIEW user2 ROADMAP_VIEW Available actions: BROWSER_VIEW, CHANGESET_VIEW, CONFIG_VIEW, EMAIL_VIEW, FILE_VIEW, ...
$ trac-admin trac permission add user1 *_VIEW
Attachments (0)
Change History (2)
comment:1 by , 16 years ago
Milestone: | → 0.13 |
---|
comment:2 by , 14 years ago
Milestone: | next-major-0.1X → unscheduled |
---|
Note:
See TracTickets
for help on using tickets.
Maybe, but really this should evolve into handling fine grained permissions, and the old style *_VIEW permissions should go away.