Book Image

Gitolite Essentials

By : Sitaram Chamarty
Book Image

Gitolite Essentials

By: Sitaram Chamarty

Overview of this book

Table of Contents (19 chapters)
Gitolite Essentials
About the Author
About the Reviewers

Chapter 8. Allowing Users to Create Repos

Until now, everything we have seen indicates that the administrator is the only person who can create new repositories. He can share the load of doing this, simply by giving some trusted users the right to read and write the gitolite-admin repository, but that's as far as it goes.

In some environments, your users may need more flexibility. You could have several users who need not be administrators, in the sense that they neither want nor need to manage all repositories, but they do wish to be able to create their own repositories and control access to those repositories. In fact, we would like the administrator's role in this to be a one-time setup, after which no more changes to Gitolite's conf file would be required.

If there are several users who need to do this, it seems like a good idea to think about how we could allow this and still maintain the required security over the repositories that were created by the administrator in the usual way...