strider
strider copied to clipboard
Disallow users to add repos/projects
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?
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.