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

Question: Fetching roles/permissions from a database, advanced ability factory conditions #255

Open
joeferraro opened this issue Jan 24, 2022 · 3 comments

Comments

@joeferraro
Copy link

Hi, I am interested in utilizing this library, however, it's not entirely clear to me how to go about 1) integrating actions/roles/permissions fetched from a database and 2) being able to apply fine-grained abilities based on a user's role(s). As a workaround, I've forked the library and implemented my own ability factory, access service, etc, but I'd love to leverage any points of extensibility that may/may not exist. Thanks in advance!

@jdegger
Copy link

jdegger commented May 17, 2022

Same question here. The casl docs are very elaborate about the many ways of generating the abilities (for example from JSON). I do not exactly see how that can be achieved here.

@dzcpy
Copy link
Contributor

dzcpy commented Dec 8, 2022

Is it actually doable?

@58pier
Copy link

58pier commented Aug 14, 2023

Is there any progress?

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

4 participants