Orochimaru
Orochimaru

Reputation: 105

How to create multiple users for a single GIT repository with different access permissions?

How to create multiple users for a single GIT repository with different credentials?

i.e. I want to provide read-only access to a set of users and read-write access to another set of users. Also, I need to give a unique username for each user in both the levels. It would be really helpful if I get the correct steps to perform this operation.

Thanks in advance.!!!

Upvotes: 1

Views: 104

Answers (1)

VonC
VonC

Reputation: 1329492

One way is to install gitolite, which allows you to declare and manage a set of users with, for instance ssh keys for authentication.

See "How do programs like gitolite work?" for more.

But you cal also plug gitolite with https, and use https authentication instead (with LDAP for example).

Gitolite is just a perl script which deals with authorization, not authentication.

Upvotes: 1

Related Questions