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

[permission:debug] #2895

Closed
edutrul opened this issue Nov 7, 2016 · 4 comments
Closed

[permission:debug] #2895

edutrul opened this issue Nov 7, 2016 · 4 comments

Comments

@edutrul
Copy link
Contributor

edutrul commented Nov 7, 2016

Motivation

When working permissions you need to know the exact machine name instead of the label that is being displayed in /admin/people/permissions. So a new command is suggestable to display all permissions
(same functionality as $ plugin:debug ) it should:

  1. Get all permission machine name and labels
  2. If we pass a parameter it should display machine name, label and also roles that use that permission in the site currently
@edutrul
Copy link
Contributor Author

edutrul commented Nov 7, 2016

I am going to be working on it as per conversation with @enzolutions
WIP PR in a few minutes coming

@edutrul
Copy link
Contributor Author

edutrul commented Nov 7, 2016

PR in WIP
#2896

enzolutions pushed a commit that referenced this issue Nov 9, 2016
* [permission:debug] WIP new command

* [permission:debug] Add service

* [permission:debug] List all permissions and filter by user role

* [permission:debug] Add better error handle and cleanup
@edutrul
Copy link
Contributor Author

edutrul commented Nov 10, 2016

PRs have been merged:

PR [permission:debug] new command #2895
#2896
PR [permission:debug] Add English translation
hechoendrupal/drupal-console-en#30
PR [permission:debug] Add Spanish translation
hechoendrupal/drupal-console-es#7

Please feel free to ask any questions(I'll get back to you asap) or mark this ticket as resolved
It will be a pleasure
thanks

@enzolutions
Copy link
Contributor

Thanks @edutrul for your contribution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants