I am having git running on ubuntu and have a MySQL database that contains my users. Based on the user's status I need to give them custom access to repos; I'm having the following structure:
master
latest-stable
version3
version2
version1
What I want to do is for ie. "master" only users status marked as (let's say)
main-developers can have access; everyone else has no access. For latest-stable
only some users can have read-only access; for version1~3 everyone can
read-only... All users' access should be based on their status contained
in MySQL DB.
What is the best way to achieve this?