#10531 closed enhancement (fixed)
Add CHILDTICKETS_ADMIN permission
Reported by: | Sergio Talens-Oliag | Owned by: | Sergio Talens-Oliag |
---|---|---|---|
Priority: | normal | Component: | ChildTicketsPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description
I've patched your plugin to include a new admin
permission different than TRAC_ADMIN; I've done it because I want some users to be project managers and be able to customize the trac projects (i.e., adjust the settings of this plugin) but don't want to give them TRAC_ADMIN permission.
Attachments (2)
Change History (10)
Changed 12 years ago by
Attachment: | childticketsplugin-admin_perm.patch added |
---|
comment:2 Changed 12 years ago by
Replying to rjollos:
Why not just use
TICKET_ADMIN
?
Because I did it too fast, you are absolutely right, TICKET_ADMIN is the right permission to use.
I'll upload a new patch.
Changed 12 years ago by
Attachment: | childticketsplugin-ticket_admin_perm.patch added |
---|
Add TICKET_ADMIN permission patch
comment:3 Changed 12 years ago by
+1 for this change. I think the approach of allowing users with TICKET_ADMIN
to access the panel makes sense, since TICKET_ADMIN
grants access to the other ticket admin panels.
comment:5 Changed 11 years ago by
Btw, the patch is okay, except that you don't need to implement (and shouldn't implement) the IPermissionRequestor
interface.
walnut: any chance to apply this soon?
comment:6 Changed 11 years ago by
Replying to jaredbownds:
Where does one apply this patch?
You'll need to checkout the source code from SVN svn co http://trac-hacks.org/svn/childticketsplugin/0.12 childticket-0.12
, cd childticket-0.12
, apply the patch using patch -p1 < childticketsplugin-ticket_admin_perm.patch
and then re-install the plugin: python setup.py install
.
comment:8 Changed 8 years ago by
Owner: | changed from Mark Ryan to Sergio Talens-Oliag |
---|
CHILDTICKETS_ADMIN patch