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

Revert "[5.8] Add 'index' => 'viewAny' to resourceAbilityMap" #28865

Merged
merged 1 commit into from Jun 17, 2019

Conversation

laurencei
Copy link
Contributor

@laurencei laurencei commented Jun 17, 2019

Reverts #28820

Breaking change. See #28862

Although do we just "press forward" since reverting might also be a BC now if anyone depending on new behaviour? I'll leave it for Taylor to decide.

@danijelk
Copy link
Contributor

I wouldn't revert it, as it's on par with nova behaviour as I've read it.
The only thing I would do is to set a default return true on viewAny guard to make it BC. But that's also risky.

@taylorotwell taylorotwell merged commit 0ab884f into 5.8 Jun 17, 2019
@taylorotwell
Copy link
Member

@danijelk no breaking changes, even small ones, are allowed on 5.8.

@danijelk
Copy link
Contributor

danijelk commented Jun 17, 2019 via email

@browner12
Copy link
Contributor

I think @danijelk 's point is a breaking change already made it through. Need a test to prevent this from happening again.

@GrahamCampbell GrahamCampbell deleted the revert-28820-abilityMap branch June 17, 2019 23:47
@laurencei
Copy link
Contributor Author

ping @clement-jacquet - if you can re-submit your original PR and send to the master branch to be included in 5.9?

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.

None yet

4 participants