Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Gitolite Essentials
  • Table Of Contents Toc
Gitolite Essentials

Gitolite Essentials

By : Sitaram Chamarty
4 (2)
close
close
Gitolite Essentials

Gitolite Essentials

4 (2)
By: Sitaram Chamarty

Overview of this book

Table of Contents (19 chapters)
close
close
Gitolite Essentials
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
1
Index

Basic access control examples


The aspect of access control that first comes to mind, for any Git administrator, is the ability to prevent people from accessing repositories. We'll start with some simple examples before describing the syntax. Here's a very simple set of rules for a repository called foo:

repo foo
  R    =  alice
  RW   =  bob
  RW+  =  carol

These rules establish what operations Alice, Bob, Carol, and any other Gitolite users are allowed to execute against this repository. As you might guess from the simple R permission given to Alice (or, to put it another way, the lack of a W in her permission string), she is only allowed to read the repository, which means she can use the git clone, git fetch, and git ls-remote commands, but cannot use git push in any form.

Bob and Carol are both allowed to push changes to the repository. As before, you probably guessed this from the W character in each of their permission lines. What may not be immediately obvious is the significance of...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Gitolite Essentials
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon