View previous topic :: View next topic |
Author |
Message |
brad Site Admin
Joined: 22 Feb 2004 Posts: 490 Location: Atlanta, GA USA
|
Posted: Thu Dec 15, 2005 2:05 pm Post subject: Trac Permissions |
|
|
Hi all,
I'm looking for some feedback. Trac functionality is granted to users through permissions. I want to lay things out the following way:
Anonymous Users
----------------------
LOG_VIEW
FILE_VIEW
WIKI_VIEW
SEARCH_VIEW
REPORT_VIEW
TICKET_VIEW
BROWSER_VIEW
TIMELINE_VIEW
CHANGESET_VIEW
ROADMAP_VIEW
MILESTONE_VIEW
Registered Users
----------------------
WIKI_CREATE
WIKI_MODIFY
TICKET_CREATE
TICKET_MODIFY
TICKET_APPEND
TICKET_CHGPROP
+ above
Project Admins
----------------------
TRAC_ADMIN
TICKET_ADMIN
MILESTONE_CREATE
MILESTONE_DELETE
MILESTONE_MODIFY
ROADMAP_ADMIN
REPORT_CREATE
REPORT_DELETE
REPORT_MODIFY
REPORT_SQL_VIEW
REPORT_ADMIN
WIKI_DELETE
WIKI_ADMIN
+ above
Any suggested changes are welcome.
Also, I need help deciding if the perms will be global for each project or not.
1. I can store them in three tables in the dsource project database and they will apply to all projects the same.
2. I could store them in three tables in each project's database - tougher for changing and initial coding, but gives flexibility on a per-project basis.
3. I could add the perms to groups (admin, registered, anonymous) in the existing perm table for each project. Then, globally or centrally from the dsource db, I can have the dsource perm plugin return what group(s) the user happens to be in. This will grant perms as they appear in the project's perm table by group. This would allow project admins to manage perms by group instead of by user, and groups having to do w/ dsource user level will be supplied automatically.
I'm leaning toward #3. Thoughts?
BA |
|
Back to top |
|
|
pragma
Joined: 28 May 2004 Posts: 607 Location: Washington, DC
|
Posted: Thu Dec 15, 2005 5:36 pm Post subject: |
|
|
The permission sets look great, and definately go with #3 - with as many users as there are here, groups are the only way to keep yourself sane. _________________ -- !Eric.t.Anderton at gmail |
|
Back to top |
|
|
brad Site Admin
Joined: 22 Feb 2004 Posts: 490 Location: Atlanta, GA USA
|
Posted: Thu Dec 15, 2005 6:04 pm Post subject: |
|
|
It turned out to be way easier to implement than I thought. It's done, and the second version of the dsource trac plugins are out on this server. Project admins will be seeing all kinds of new goodies...
BA |
|
Back to top |
|
|
kris
Joined: 27 Mar 2004 Posts: 1494 Location: South Pacific
|
Posted: Thu Dec 15, 2005 6:06 pm Post subject: |
|
|
I'll second Eric's comments. Thanks for your continued support, Brad! |
|
Back to top |
|
|
pragma
Joined: 28 May 2004 Posts: 607 Location: Washington, DC
|
Posted: Thu Dec 15, 2005 6:28 pm Post subject: |
|
|
Brad, thank you for adding the project admin stuff into Trac. Its a really natural fit for the interface, and it works well.
Also, thanks for the commit handler on SVN. The docs site is now up in all its broken-ddoc-generated glory. _________________ -- !Eric.t.Anderton at gmail |
|
Back to top |
|
|
jcc7
Joined: 22 Feb 2004 Posts: 657 Location: Muskogee, OK, USA
|
Posted: Thu Dec 15, 2005 6:44 pm Post subject: |
|
|
Sounds good.
It helps my blood pressure to see that I can delete wiki pages now.
Not that I have any that I plan to delete. I just like to have that option. |
|
Back to top |
|
|
|