Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The admin has no full permissions to update his/her own organisation. #492

Closed
pronguen opened this issue Feb 18, 2021 · 0 comments · Fixed by #497
Closed

The admin has no full permissions to update his/her own organisation. #492

pronguen opened this issue Feb 18, 2021 · 0 comments · Fixed by #497
Labels
bug Breaks something but is not blocking

Comments

@pronguen
Copy link
Contributor

pronguen commented Feb 18, 2021

How it works

Currently, the admin can access his/her organisation editor, but he/she cannot save the modifications and receive an error (see screenshot).

It seems to be linked to the toggles: "Apparaît dans le portail partagé" / "Est une organisation dédiée". If they are activated, it is impossible to update the organisation.

Expected behaviour

The admin can edit everything, but the 2 toggles ("Apparaît dans le portail partagé" / "Est une organisation dédiée") that are managed by the super admin.

Screenshots

image

@pronguen pronguen added the bug Breaks something but is not blocking label Feb 18, 2021
@pronguen pronguen changed the title The admin has no permission to update his/her own organisation. The admin has no full permissions to update his/her own organisation. Feb 18, 2021
sebdeleze pushed a commit that referenced this issue Feb 23, 2021
* Fixes an error when editing the organisation with an admin role.
* Removes `isShared` and `isDedicated` fields if user does not have superuser role.
* Guesses `isShared` and `isDedicated` values from user's organisation when user does not have superuser role, during the serialization.
* Closes #492.

Co-Authored-by: Sébastien Délèze <sebastien.deleze@rero.ch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Breaks something but is not blocking
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant