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

Include conditions in AccessDenied exception #482

Merged
merged 8 commits into from
Mar 12, 2018
Merged

Include conditions in AccessDenied exception #482

merged 8 commits into from
Mar 12, 2018

Conversation

kraflab
Copy link
Contributor

@kraflab kraflab commented Feb 7, 2018

Completes #172

I also did a small refactor to organize the existing authorize! tests, since I was touching that code anyway.

Aside: I noticed that these conditions are called conditions, args, and extra_args depending on which method they are referenced in. Maybe those should be renamed for consistency (outside scope of this pr).

Copy link
Member

@coorasse coorasse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

@coorasse coorasse changed the base branch from develop to feature/2.2.0 February 8, 2018 17:09
@coorasse coorasse merged commit 3a3306c into CanCanCommunity:feature/2.2.0 Mar 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants