docdoku / docdoku-plm

The project purpose is to develop a comprehensive, robust open source PLM (Product LifeCycle Management) solution.
http://www.docdokuplm.com
GNU Affero General Public License v3.0
241 stars 98 forks source link

[change administrator] new admin should be added to workspace #1145

Closed mguimard closed 6 years ago

mguimard commented 6 years ago

When changing the admin of a workspace, the server should reject the operation if the new admin does not already belong to workspace, or it should add the new admin to the workspace.

If the new admin has no workspace membership it results in an inconsistent state. He cannot do anything with the workspace.

mguimard commented 6 years ago

fixed by https://github.com/polarsys/eplmp/commit/0e3d2a91657d3cebc5683c86011de6a346df6447