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

Updates to used_privileges rake task #115

Merged
merged 2 commits into from
Oct 18, 2011
Merged

Conversation

urkle
Copy link
Contributor

@urkle urkle commented Sep 27, 2011

Here are two changes to the used_privileges rake task

One is to fix a bug where ptu variable was used instead of wpt, the other it to support "detecting" model with authorization when ActiveRecord::Base.using_access_control is used.

- use of incorrect variable name in block
- check when ActiveRecord::Base.using_access_control is used
- filter out "observer" models
stffn added a commit that referenced this pull request Oct 18, 2011
Updates to used_privileges rake task
@stffn stffn merged commit 66178a1 into stffn:master Oct 18, 2011
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

Successfully merging this pull request may close these issues.

2 participants