Skip to content

Conversation

@sjoulbak
Copy link

Hi 👋

This is a follow-up PR for the changes of: #843

I updated cancancan to its latest version earlier today and noticed that some of our authorization specs were failing. It was related with the latest changes of compressing duplicate rules in combination with STI subjects. I provided a spec to reproduce the issue and a solution as well, which will modify seen in lib/cancan/rules_compressor.rb to keep track of seen rules per given subjects. This solution works for our app.

As a chore I uppercased a changelog entry body to fix a spec.

I added a missing changelog entry for 3.6.1. Please note that 3.6.1 is already released at Rubygems, but there is no tag at this repo.

Let me know if I need to do anything else to get this PR merged 🙏

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.

1 participant