- Introduce new UI to manage branches and tags (cf. epic "mockups")
- Warning: this is designed for a few elements (~10 branches/tags) not to handle 100 or 1000 permissions
- Warning: the UI component to use (selectbox, multi, etc) are not yet defined
- Store permissions in DB
- Serialize permissions in Gitolite
- At activation, the permissions defined in "RW" and "RW+" selectbox are used as default values, for instance "Write" for Developers and "Rewind" for Integrators would become
Branches
--------
Pattern | Write | Rewind |
--------|------------|------------------|
* | Developers | Integrators |
Tags
----
Pattern | Write | Rewind |
--------|------------|------------------|
* | Developers | Integrators |
- At desactivation (ie if git admin no longer want to use per tag/branch permissions), the admin cannot save the configuration if she doesn't select at lease one group for "Write" and "Rewind" selectbox (can be Nobody)
Then check everything is properly used in:
- repository update
- repository creation (use of project template)
- fork
- grokmirror