stable

Clone or download

Read-only

Introduce project membership delegation

This is part of story #10773: have a restricted project administrator role Given there is a project with a static group (Eg. "Developers") And a user is member of this static group (but is not project admin), When you add the ugroup_id in the table project_membership_delegation directly in the database, Then the user see the "Admin" entry in service bar And they can see the "members" tab when the go to project admin And they can add (or remove) users to this project. And they can import from a list of users And they can (un)bind to ldap directory Notes: - ability to define which ugroup has membership delegation from the user interface will be done later Change-Id: Ia3c4bfe059b0a9f985ab31084cfdeb6bafb27f28

Modified Files

Name
M plugins/ldap/www/bind_members_confirm.php +9 −2 Go to diff View file
M src/common/autoload.php +3 −2 Go to diff View file
M src/common/layout/BaseLayout.php +4 −2 Go to diff View file
M src/common/layout/ProjectSidebarBuilder.php +26 −12 Go to diff View file
A src/common/project/Admin/MembershipDelegationDao.php +51 −0 Go to diff View file
M src/common/project/Admin/Navigation/NavigationPresenterBuilder.php +80 −37 Go to diff View file
M src/db/mysql/database_structure.sql +5 −1 Go to diff View file
A src/db/mysql/updates/2018/201801081147_add_project_membership_delegation.php +48 −0 Go to diff View file
M src/www/project/admin/index.php +10 −2 Go to diff View file
M src/www/project/admin/members.php +9 −2 Go to diff View file
M src/www/project/admin/userimport.php +12 −3 Go to diff View file