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

Bulk Disable Feature #22

Open
rreinhardt9 opened this issue Apr 20, 2018 · 1 comment
Open

Bulk Disable Feature #22

rreinhardt9 opened this issue Apr 20, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@rreinhardt9
Copy link
Contributor

There are times where we might want to disable a given permission for all actors and objects... for example, when a permission is a feature flag and that flag is removed, it would be nice to bulk remove it by the action.

I'm picturing an Accessly::Permissions::BulkRevoke object that would be used for cases like this... and it would remove all records for a given policy/ action (maybe we could optionally scope by segment as well?)

Maybe the api would be calling #revoke_all! on the policy class similar to how we have #revoke!?

@aureentuluvacal
Copy link
Contributor

@rreinhardt9 Can we close this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants