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)