0

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?

pr0mila
  • 194
  • 12
McBob
  • 931
  • 1
  • 11
  • 23
  • 1
    This may be helpful https://stackoverflow.com/questions/13248246/git-branch-permissions – Serg May 25 '22 at 19:19

0 Answers0