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

Règles d'accès tableau editLog global #445

Closed
2 tasks
LGAGELIN opened this issue Sep 8, 2017 · 6 comments
Closed
2 tasks

Règles d'accès tableau editLog global #445

LGAGELIN opened this issue Sep 8, 2017 · 6 comments
Assignees
Milestone

Comments

@LGAGELIN
Copy link
Collaborator

LGAGELIN commented Sep 8, 2017

l'EditLog central est l'editlog non lia à un objet particulier de la base.
Ce dernier doit avoir un accès réservé :

  • Le bouton d'accès Editlog doit être réservé à central_admin, central_reader et center_admin
  • le client doit afficher un message "vous n'avez pas le droit" si il reçoit un 401
@LGAGELIN LGAGELIN added this to the Editlog milestone Sep 8, 2017
@paulgirard
Copy link
Collaborator

question @LGAGELIN @sophiejacquot :
Est ce qu'on ne donnerait pas accès au tableau d'edit aux admin des centres ?

@LGAGELIN
Copy link
Collaborator Author

Oui bonne idée. On a vu que c'était déjà le cas en PPRD, c'est très bien (à part que cela ne fonctionne pas ;-) cf issue 451)

@paulgirard paulgirard changed the title Le bouton d'accès Editlog doit être réservé à Admin Central et DG Règles d'accès tableau editLog global Sep 22, 2017
@paulgirard
Copy link
Collaborator

paulgirard commented Sep 26, 2017

central_admin : paul.girard
central_reader : charline.avenel
center_admin : barbara.bender
center_member : emiliano.grossman

@t8g
Copy link
Collaborator

t8g commented Sep 26, 2017

Pour un center_admin
Je devrais avoir accès aux logs, non ?
http://localhost:8080/editLog/people?organization=5894889a11d0d100381bcc9c&limit=5
Me donne 401 pour barbara.bender

{ isariRole: "center_admin", organization: "5894889a11d0d100381bcc9c" }

@paulgirard
Copy link
Collaborator

Il faut changer la règle côté serveur.
C'est un changement de specs.

@t8g
Copy link
Collaborator

t8g commented Sep 26, 2017

Du coup pas compris.
On fait ou pas ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants