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

[generate:entity:content] Generated revision entity has mismatching permissions #3932

Closed
absoludo opened this issue Sep 25, 2018 · 1 comment

Comments

@absoludo
Copy link
Contributor

absoludo commented Sep 25, 2018

Problem/Motivation

After generating a content entity with revisions users cannot be given access tot the entity revision.

Details to include:

  • Why are we doing this? Above all, a summary should explain why a change is needed, in a few short sentences.

How to reproduce

Generate a new content entity (in my case without bundles & translations, but with revisions). Check the *.permissions.yml & the *HtmlRouteProvider.php for the mismatching permissions.

Details to include:

  • Drupal Console Launcher version 1.8.0
  • Drupal Console version 1.8.0

Solution

In the *HtmlRouteProvider.php the permision access %entity_type revisions should be called view all %entity_type revisions.

@absoludo
Copy link
Contributor Author

absoludo commented Sep 25, 2018

Created a new issue with a pull request. Therefore this issue is a duplicate and will be closed.
Also see #3933

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

No branches or pull requests

1 participant