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

How to use accessibleFieldsBy without Mongoose (with basic Mondodb driver) #837

Closed
thomasdvd opened this issue Nov 14, 2023 · 3 comments
Closed

Comments

@thomasdvd
Copy link

Is your feature request related to a problem? Please describe.
I would like to use accessible by plugins with native MongoDB Adapter

Describe the solution you'd like
Import accessibleFieldsBy and other helper utility functions directly like accessibleBy

@stalniy
Copy link
Owner

stalniy commented Nov 25, 2023

For now there is no way to do this. Just use permittedFieldsBy helper from @casl/ability/extra

@stalniy
Copy link
Owner

stalniy commented Feb 24, 2024

Fixed in #880

@stalniy
Copy link
Owner

stalniy commented Mar 27, 2024

released in @casl/[email protected]

@stalniy stalniy closed this as completed Mar 27, 2024
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

2 participants