•  
     
    story #12457 New document modal : permissions
Summary
Empty
New document modal : permissions
Empty

As of today, permissions are displayed in old fashioned mode: For each group, a selectbox is shown. The selectbox contains permissions levels (docman reader, docman writer, docman manager).

We want to change this permission pattern to the regular Tuleap one. Docman can have 3 different permissions:

  • docman reader
  • docman writer
  • docman manager

For each possible permission we want to let users choose the corresponding user groups:

  • Anonymous and Registered users are always displayed (regardless of platform configuration. The same behaviour exists today).
  • other user groups are returned by the existing REST route project/:id/user_groups
    • /!\ the route also returns the legacy crappy groups like new_admin, forum_admin... We should filter them out in JS

Permissions set should be loggeud in project and document history (like legacy docman)

Empty
Empty
Status
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
#12457
Marie Ange Garnier (marieange)
2019-08-20 19:24
2018-10-26 15:55
3748

References
Referencing story #12457

Git commit

tuleap/tuleap/stable

Follow-ups