•  
     
    story #8419 have permissions per tags/branches
Summary
git admin
have permissions per tags/branches
Empty
  • 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
Empty
Yannis ROSSETTO (rossettoy)
Status
Empty
Done
Development
  • [ ] Does it involves User Interface? 
  • [ ] Are there any mockups?
  • [ ] Are permissions checked?
  • [ ] Does it need Javascript development?
  • [ ] Does it need a forge upgrade bucket?
  • [ ] Does it need to execute things in system events?
  • [ ] Does it impact project creation (templates)?
  • [ ] Is it exploratory?
Empty
Details
#8419
Manuel Vacelet (vaceletm)
2016-06-24 17:32
2015-09-16 10:52
8541

References
Referencing story #8419

Git commit

tuleap/tuleap/stable

Take into account permission order 56025f2f28
Enable fine-grained permission in a repository 22cb644734
Fix fatal error while forking multiple repository at the same time b8e0251340
Display repository tags and branches patterns e3d8ee02c4
Display writers and rewinders per permission 40fc69f3d8
Merge commit 'refs/changes/71/5871/2' of ssh://gerrit.tuleap.net:29418/tuleap into HEAD 6294a30f84
story #8419: Glossify git access control tab content 3964e92b73
Merge commit 'refs/changes/91/5891/5' of ssh://gerrit.tuleap.net:29418/tuleap into stable dc170c9a39
Enable default Git fine grained permissions cbe10ecb80
story #8419: Add permissions for new branches and tags 940d9dad74
Add Git default permissions for branches and tags db920f3a75
Take into account site access changes bdeefb7aff
Deal with ugroup deletion 23ce3a7694
Inherit fine grained permissions at project creation a20c5aa6e5
Take into account project access changes 1908bef53c
Deal with multiple selected ugroups d4a3b59b34
Display selected ugroup in a selectbox 78f26d5bbe
Refactoring - Rename classes 013af728b6
Delete per tags/branches permission ac97f896bc
Use project default permissions when creating a new repo 90d0b931f9
Disable per repo permissions form when fine grained perms are used b36d9ef90d
Delete and add actions are not available while forking 6a22f69f34
Edit per tags/branches permission in a repository c560c8f8d5
Display per tags/branches permissions on multiple fork bdaba966e8
Edit default per tags/branches permission in git administration 2e0f535686
Duplicate fine grained permission while forking a single repo in the same project 8ca331f048
Duplicate fine grained permission while forking multiple repositories in the same project cda254eeaf
Warn the user about cross-project single fork behaviour 9c06f4aa67
Remove Lab feature 5c8ee391b5
Update configuration while deleting fine grained permission 5b8b643ac1
Fix save of global permission 0a72bc93e2
Enable default tag and branch permission on activation cb08978cde
Enable default tag and branch permission on activation in git admin 670a6fe41c
Changing global writers or rewinders does not clear fine grained ugroups c5f6257617
Do not stack multiple REPO_UPDATE events cdb7b89ec5
Propagate fine-grained permissions to Gitolite e2358c6e82
Restrict pattern definition db62e196cc
Sort fine-grained permissions 29999a79a8
Merge branch 'stable' into burning_parrot 9979b0ca86

Follow-ups