Edgewall Software

Opened 11 years ago

Last modified 7 years ago

#11099 closed enhancement

Admin Web UI: Copy permissions from one subject to another — at Initial Version

Reported by: ethan.jucovy@… Owned by:
Priority: normal Milestone: 1.1.2
Component: admin/web Version:
Severity: normal Keywords: permissions
Cc: leho@…, olemis+trac@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I often create new Trac environments where I need to restrict access for anonymous users, but want to provide all authenticated users with all the permissions that Trac grants out-of-the-box to anonymous users. This is not easy to do through the admin interface: I need to look at the list of permissions granted to "anonymous"; find each permission one by one in the "Grant Permission" dropdown; and submit the form repeatedly.

Also, I often grant permissions one at a time to specific users of my Trac environment, and only later realize that I want the same permissions to be shared by several users in a group. Transferring those permissions from a user to a group is a similarly time-consuming and error-prone process using the web interface.

A "Copy Permissions" feature would be very helpful for these situations. This could just be a form where the admin fills in a subject (user or group) and a target (user or group). The backend would then find all permissions that are currently granted directly to the subject, and would grant each of those permissions to the target.

Change History (1)

by ethan.jucovy@…, 11 years ago

Attachment: copy_permissions.patch added
Note: See TracTickets for help on using tickets.