-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Assign user to role and roles list commands #28677
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
base: 2.4-develop
Are you sure you want to change the base?
Assign user to role and roles list commands #28677
Conversation
Hi @Stepa4man. Thank you for your contribution
❗ Automated tests can be triggered manually with an appropriate comment:
You can find more information about the builds here ℹ️ Please run only needed test builds instead of all when developing. Please run all test builds before sending your PR for review. For more details, please, review the Magento Contributor Guide documentation. |
@magento run all tests |
@magento run Static Tests |
@magento run Functional Tests B2B |
app/code/Magento/Authorization/Command/AdminRolesListCommand.php
Outdated
Show resolved
Hide resolved
app/code/Magento/Authorization/Command/AdminRolesListCommand.php
Outdated
Show resolved
Hide resolved
app/code/Magento/Authorization/Command/AdminRolesListCommand.php
Outdated
Show resolved
Hide resolved
app/code/Magento/Authorization/Test/Integration/Console/Command/AdminRolesListCommandTest.php
Show resolved
Hide resolved
app/code/Magento/User/Test/Integration/Console/Command/AssignAdminToRoleCommandTest.php
Show resolved
Hide resolved
app/code/Magento/User/Test/Integration/Console/Command/AssignAdminToRoleCommandTest.php
Show resolved
Hide resolved
app/code/Magento/User/Test/Integration/Console/Command/AssignAdminToRoleCommandTest.php
Show resolved
Hide resolved
3d4d3a6
to
9101912
Compare
@magento run all tests |
@engcom-Hotel could you please take a look at failed integration tests? They constantly failed and caused by the changes from the PR |
@magento run Integration Tests |
Pull Request state was updated. Re-review required.
@magento run Magento Health Index |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✔️ Code changes looks fine for me. Magento Healthcheck needs to be approved manually.
Hi @lbajsarowicz, thank you for the review. |
Description (*)
Creates Admin-role management commands.
Manual testing scenarios (*)
bin/magento admin:role:list
bin/magento admin:user:assign-role --username={USER_NAME} --role-id={SAVED_ROLE_ID}
Contribution checklist (*)
Resolved issues: