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

nodejs: groups and per operation permissions #66

Closed
remyla opened this issue May 26, 2015 · 2 comments
Closed

nodejs: groups and per operation permissions #66

remyla opened this issue May 26, 2015 · 2 comments

Comments

@remyla
Copy link
Owner

remyla commented May 26, 2015

operation based permissions

In Php, we have a permissions.php file which associates groups of users to allowed web service operation (crud operations and others).

  • we have 4 default user classes: admin, editor, user, guest
  • the users are assigned to a group using a class key under their node
  • please see permissions.php and http_service.php files for the current working php version
@remyla remyla added the nodejs label May 26, 2015
@remyla remyla added this to the 2.4 milestone May 26, 2015
@remyla remyla modified the milestones: 2.4, 2.3.6 Jun 5, 2015
@remyla remyla modified the milestones: 2.3.6, 2.4 Feb 2, 2016
@remyla
Copy link
Owner Author

remyla commented Apr 12, 2016

This issue is partially processed:

the first point is done "user authentication scheme"
(see https://github.com/remyla/damas-core/wiki/Authentication and API https://github.com/remyla/damas-core/wiki/API#Authentication)

i make an issue about the first point and close it (#97)
i edit this issue in order to focus on the second point

@remyla remyla changed the title nodejs: user authentication, groups and per operation permissions nodejs: groups and per operation permissions Apr 12, 2016
@gnoxr gnoxr mentioned this issue May 23, 2016
@remyla remyla modified the milestones: 2.3.6, 2.4 Nov 29, 2016
@remyla
Copy link
Owner Author

remyla commented Nov 29, 2016

  • the group based permissions is now up and running in production
  • a class key on nodes contains the group name (default declared names are admin, editor, user, guest)
  • the permissions for each opetation are written in server-nodejs/routes/permissions.js

closing this issue

@remyla remyla closed this as completed Nov 29, 2016
@remyla remyla modified the milestones: 2.3.5, 2.3.6 Jun 1, 2017
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

1 participant