Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Identity Based Access Control #136

Open
HenriqueSilverio opened this issue Jun 27, 2019 · 3 comments
Open

Identity Based Access Control #136

HenriqueSilverio opened this issue Jun 27, 2019 · 3 comments

Comments

@HenriqueSilverio
Copy link

As mentioned here:

Typical example: users can edit their own comments but can only read other users comments. So having a role that either grants or deny edit permissions to the resource comment/edit is not good enough. The permission depends on which comment the user is accessing.

Other example here:

Let me give you an example based on a blogging platform where a writer can create a blog post and then open it up for editing — should the writer role also allow to rewrite every post in the system? Probably not. We need to first check if they are the owner of the post.

Is there a way to achieve that?

@tguelcan
Copy link

Any news? I also have the challenge to check if the user is also the author

@HenriqueSilverio
Copy link
Author

Currently I found some alternatives:

@tguelcan
Copy link

tguelcan commented Jul 5, 2020

We have developed our own stack (restexpress.dev) and have expanded the existing express-acl. I hope it can help you!

https://restexpress.dev/#/src/services/express/README

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

No branches or pull requests

2 participants