How to manage user privileges in a repository?