Skip to content

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

Merged
taylorotwell merged 1 commit into
5.8from
revert-28820-abilityMap
Jun 17, 2019
Merged

Revert "[5.8] Add 'index' => 'viewAny' to resourceAbilityMap"#28865
taylorotwell merged 1 commit into
5.8from
revert-28820-abilityMap

Conversation

@laurencei

@laurencei laurencei commented Jun 17, 2019

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
Copy Markdown
Member

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

@danijelk

danijelk commented Jun 17, 2019 via email

Copy link
Copy Markdown
Contributor

@browner12

Copy link
Copy Markdown
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
Copy Markdown
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.

4 participants