In the old setup i have a file which contains the groups setup as below:

[groups]
owner = user1, user2, user3

[*]
@owner = TRAC_ADMIN
@projectmanager = MILESTONE_ADMIN ROADMAP_ADMIN REPORT_ADMIN TICKET_ADMIN
WIKI_ADMIN
anonymous = TICKET_CREATE TICKET_MODIFY WIKI_CREATE WIKI_MODIFY WIKI_VIEW
authenticated = BROWSER_VIEW CHANGESET_VIEW FILE_VIEW LOG_VIEW
MILESTONE_VIEW REPORT_SQL_VIEW REPORT_VIEW ROADMAP_VIEW SEARCH_VIEW
TICKET_VIEW TIMELINE_VIEW WIKI_VIEW

In the old setup every NEW project is made with the trac-admin initenv
--inherit=/usr/share/trac/conf/trac.ini  enabled. In this setup it is
working fine.

In the NEW setup, al the projects aint accepting the inherit option in their
local trac.ini.

Even when I make a new project, in exactly the same way as I did in the old
setup, the new project doesn't accept the inherit option.

Hope this clarifies it...?

Thanks

Jaap v A



On 2/25/10 12:40 PM, "Cooke, Mark" <[email protected]> wrote:

>> We have a Trac environment with multiple projects. Because we want to
>> migrate the Trac instance to a faster server i am experiencing
>> difficulties regarding the user and group rights.
>> 
>> The new instance doesn't seem to copy over the user and group rights
>> from the old Trac instance.
>> 
>> Question:
>> 
>> Is there a possibility to make a group (e.g. owner) with several users
>> attached to this, so that i can add this group to all the projects in
>> our new Trac instance? de project related trac.ini's doesn't seem to
>> accepting the [inherit] function.
>> 
>> In this way i dont have to set the user and group permission to all
>> the projects separately.
>> 
> I am not sure I understand what you are asking... I think the answer is
> that trac stores permissions in the database (PostgreSQL in my case) for
> each environment.  So I have written a python script I use against each
> environment when I create it to set the default permissions and groups
> (including myself as TRAC_ADMIN).
> 
> I do not know of a way to share permissions between environments in the
> current released versions.
> 
> ~ Mark C


-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to