FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Trac Permissions

 
Post new topic   Reply to topic     Forum Index -> Site
View previous topic :: View next topic  
Author Message
brad
Site Admin


Joined: 22 Feb 2004
Posts: 490
Location: Atlanta, GA USA

PostPosted: Thu Dec 15, 2005 2:05 pm    Post subject: Trac Permissions Reply with quote

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
View user's profile Send private message
pragma



Joined: 28 May 2004
Posts: 607
Location: Washington, DC

PostPosted: Thu Dec 15, 2005 5:36 pm    Post subject: Reply with quote

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. Wink
_________________
-- !Eric.t.Anderton at gmail
Back to top
View user's profile Send private message Yahoo Messenger
brad
Site Admin


Joined: 22 Feb 2004
Posts: 490
Location: Atlanta, GA USA

PostPosted: Thu Dec 15, 2005 6:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
kris



Joined: 27 Mar 2004
Posts: 1494
Location: South Pacific

PostPosted: Thu Dec 15, 2005 6:06 pm    Post subject: Reply with quote

I'll second Eric's comments. Thanks for your continued support, Brad!
Back to top
View user's profile Send private message
pragma



Joined: 28 May 2004
Posts: 607
Location: Washington, DC

PostPosted: Thu Dec 15, 2005 6:28 pm    Post subject: Reply with quote

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. Smile
_________________
-- !Eric.t.Anderton at gmail
Back to top
View user's profile Send private message Yahoo Messenger
jcc7



Joined: 22 Feb 2004
Posts: 657
Location: Muskogee, OK, USA

PostPosted: Thu Dec 15, 2005 6:44 pm    Post subject: Reply with quote

Sounds good.

It helps my blood pressure to see that I can delete wiki pages now. Wink

Not that I have any that I plan to delete. I just like to have that option.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Site All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group