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

Changed permissions are not reloaded #10

Open
alovak opened this issue Aug 29, 2016 · 0 comments
Open

Changed permissions are not reloaded #10

alovak opened this issue Aug 29, 2016 · 0 comments

Comments

@alovak
Copy link

alovak commented Aug 29, 2016

Thanks for an awesome gem!

I have found that when I change permissions changes are not applied in development environment. So I have to reload application (with spring / pow).

As far as I understand what should be done is following:

add to railtie

config.to_prepare do
  ActionAccess::Keeper.instance.reload
end

and add reload (or init or ...) to Keeper class.

Do you want me to create PR with this?

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

1 participant