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:permissions not recognizing array keys "permission, title, description" #4316

Open
vellad001 opened this issue Aug 23, 2021 · 0 comments

Comments

@vellad001
Copy link

Issue title

Trying to run the following command:

drupal generate:permissions
--module="mmh_test_module"
--permissions='"permission":"create test", "title":"Create Test", "description":"Create Test"'

however getting the following error:

In permission.yml.twig line 6:
Key "restrict_access" for array with keys "permission, title, description" does not exist.

Details to include:

  • Drupal version: 9.2.4.
  • Console version: 1.9.7.
  • Console Launcher version: 1.9.7.
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