Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Oct 26, 2019. It is now read-only.

use u-wave-core acl for protecting routes #114

Merged
merged 7 commits into from
Mar 10, 2018
Merged

Conversation

goto-bus-stop
Copy link
Member

No description provided.

@goto-bus-stop goto-bus-stop changed the title [wip] use u-wave-core acl for protecting routes use u-wave-core acl for protecting routes Oct 7, 2016
@goto-bus-stop
Copy link
Member Author

Todo: should add role management routes. Certainly for adding/removing roles from users at first, and for creating/deleting roles entirely after.

@goto-bus-stop
Copy link
Member Author

goto-bus-stop commented Feb 25, 2017

TODO:

POST /users/:id/roles { roles: ['moderator'] } → give roles to a user
DELETE /users/:id/roles/:role → remove a role from a user?
DELETE /users/:id/roles { roles: ['moderator'] } → remove roles from a user

PUT /roles/:role { roles: ['waitlist.join', 'booth.vote'] } → create a new role that contains the given roles
DELETE /roles/:role → remove a role (should also prevent "core" roles from being deleted, in u-wave-core)

@goto-bus-stop goto-bus-stop merged commit 50ec271 into master Mar 10, 2018
@goto-bus-stop goto-bus-stop deleted the feature/acl branch March 15, 2018 11:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant