Repository permissions explanation

164 views
Skip to first unread message

Rob Conaway

unread,
Sep 2, 2015, 10:56:59 AM9/2/15
to gitblit
Is there any doc with an explanation of the repository permission administration?  

Specifically,

1) What is mutable versus specified?  It looks like effective just reports the permissions.

2) How can I get rid of an existing permission?  DELETE THIS PERMISSION doesn't seem to work.

3) When I add permissions for a team/user to a repo, should that permission show up when I display the repo's permissions?

4) Is there any action other than SAVE that is needed to make permission changes effective?  Restarting the server seems to make some changes effective, but it's still unclear exactly what does what.

Thanks

Rob


Rob Conaway

unread,
Sep 2, 2015, 11:15:59 AM9/2/15
to gitblit
Of course, as soon as I ask the question, my experiments start yielding sensible results.

It looks like a  lot of my confusion is because of the following: repo permissions can only be maintained by an owner of the repo.  If you are not the owner, it will appear to let you change the permissions, but actually fail silently.  Note that I was working as an admin, but that didn't solve the problem.  I had to be an actual owner of the repo.

I still don'[t understand the difference between "mutable" and "specified" on the permissions page.  Can someone clarify for me?

Rob

James Moger

unread,
Sep 2, 2015, 12:32:01 PM9/2/15
to git...@googlegroups.com
That *is* confusing.  I had to lookup the code to remember.

Mutable are the permissions you can change through that control.
Specified includes mutable + owners.
Effective is specified + regex, admins, etc.

HTH,

-J


--
You received this message because you are subscribed to the Google Groups "gitblit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gitblit+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages