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
Custom Entity overview list permission #2289
Comments
Found the issue. `protected function getCollectionRoute(EntityTypeInterface $entity_type) {
} So the access check is performed on 'administer ibe query entities'. But the permission file that got created just got the following perms: `add myentity entities: administer myentity entities: delete myentity entities: edit myentity entities: access myentity overview: view published myentity entities: view unpublished myentity entities: The permission 'administer ibe query entities' is not created. I would suggest to add a permission same like nodes have here 'access myentity overview'. |
I sent a first pull request trying to solve the issue: #2394 Thanks for reporting! |
New release tagged https://github.com/hechoendrupal/DrupalConsole/releases/tag/1.0.0-beta3 |
Hey,
I created a custom entity with the drupal console. After that I gave all the newly created permissions to a editor role. The editor is now able to add,delete,update the custom entities. So this works fine :)
The only thing that is not working the overview of the existing entities located at the path "admin/structure/myentity". When it try to open the url I get a access denied page.
Any thoughts?
The text was updated successfully, but these errors were encountered: