Removing Default permissions

1 view
Skip to first unread message

Martin H

unread,
Feb 15, 2007, 1:52:52 PM2/15/07
to Trac Users
Hello,
I've just installed the Discussion Trac plugin, and i want to
create a subset of users or user group with only permissions to view
or append to the discussion.
I created some new users, and i can't remove any of these
permissions:


User Action
----------------------
User1 BROWSER_VIEW
User1 CHANGESET_VIEW
User1 FILE_VIEW
User1 LOG_VIEW
User1 MILESTONE_VIEW
User1 REPORT_SQL_VIEW
User1 REPORT_VIEW
User1 ROADMAP_VIEW
User1 SEARCH_VIEW
User1 TICKET_APPEND
User1 TICKET_CHGPROP
User1 TICKET_CREATE
User1 TICKET_MODIFY
User1 TICKET_VIEW
User1 TIMELINE_VIEW
User1 WIKI_CREATE
User1 WIKI_MODIFY
User1 WIKI_VIEW

I tried adding TRAC_ADMIN to User1, and it worked. I removed that
permission, and it worked.
Why can't i remove all other permissions?
Isn't this possible?

Thank you very much!!

Martin

Martin H

unread,
Feb 22, 2007, 12:31:37 PM2/22/07
to Trac Users
Any ideas?
Thanks!

d...@dankeeley.co.uk

unread,
Feb 23, 2007, 3:11:26 AM2/23/07
to trac-...@googlegroups.com
I have this problem too...

Martin H

unread,
Feb 28, 2007, 3:58:25 PM2/28/07
to Trac Users
I got it!!
There is a permission table in trac db which only had trac admin
users, and a user named anonymous. However, i had lots of other users
that could access trac, the ones i created with the apache user
creation utility.

The thing was that in the permission table there was a user named
anonymous with all those permissions.
So i got sqlite browser, a ui for editing tracs db.

I deleted all entries for the anonymous user.

And then user1 had no permissions. I added the ones i wanted, and it
worked!!!

I had a problem then, i had deleted all the permissions from the users
who didn't appear in the permission table, normal users.

So i created a new permission group, named default, with all the
permissions listed in this topic.

Then i gave the default group permission to everyone (but user1) and
it worked.

I created a new user (user2) and by default, it has no permissions!

Hope this works for you too, ask me if anything!

> >> Martin- Hide quoted text -
>
> - Show quoted text -

Reply all
Reply to author
Forward
0 new messages