strider icon indicating copy to clipboard operation
strider copied to clipboard

Disallow users to add repos/projects

Open cloudlena opened this issue 9 years ago • 1 comments

As an admin, I would like to be able to allow only certain users to add repos. I have multiple projects on my Strider server so I would like to invite all the participants of these projects so that they can see the results of their commits. However, I want them to only see the projects they are allowed to and not add their private projects to be built on my server. Is that somehow possible?

cloudlena avatar Jan 16 '16 01:01 cloudlena

There are two levels of authorization:

General: https://github.com/Strider-CD/strider/blob/master/lib/models/user.js#L16 Project: https://github.com/Strider-CD/strider/blob/master/lib/models/user.js#L42

So currently admins can add repos, but normal users can't (I think), so this is not possible currently without making the user into an admin. The permissions/roles need to be revisited/refactored for better possibilities.

knownasilya avatar Jan 18 '16 02:01 knownasilya