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

Roles #5

Open
8 tasks
fdvj opened this issue Jan 5, 2018 · 0 comments
Open
8 tasks

Roles #5

fdvj opened this issue Jan 5, 2018 · 0 comments
Assignees

Comments

@fdvj
Copy link
Member

fdvj commented Jan 5, 2018

Prerequisitos

  • ACL debe estar implementado para los permisos ACL #4

Requisitos

  • Como Super usuario, debo ser capaz de crear nuevos roles en el sistema POST /roles
  • Como usuario regular, no debo ser capaz de crear nuevos roles en el sistema
  • Como usuario con permiso de roles:list, debo ser capaz de ver los roles en el sistema GET /roles
  • Como usuario con permiso de roles:view, debo ser capaz de ver los detalles y permisos de un rol en el sistema GET /roles/{roleId}
  • Como super usuario, debo ser capaz de actualizar un rol en el sistema PUT /roles/{roleId}
  • Como super usuario, debo ser capaz de agregar/quitar permisos de un rol del sistema PUT /roles/{roleId}/permissions
  • Como super usuario, debo ser capaz de eliminar un rol del sistema DELETE /roles/{roleId}

Notas

  • Eliminar un rol del sistema debe eliminar de igual forma cualquier rol asignado a un usuario de ese que fue eliminado en cualquier organización.
@fdvj fdvj added this to the Backend Authentication and User Management milestone Jan 5, 2018
@fdvj fdvj self-assigned this Jan 5, 2018
@fdvj fdvj mentioned this issue Jan 9, 2018
17 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant