Skip to content

[Issue] Assign user to role and roles list commands #28803

Open
@m2-assistant

Description

@m2-assistant

This issue is automatically created based on existing pull request: #28677: Assign user to role and roles list commands


Description (*)

Creates Admin-role management commands.

Preconditions (*)

Magento 2.4-develop

Steps to reproduce (*)

  1. Run bin/magento admin:role:list
  2. Get some of the existing roles and save role ID
  3. Create new admin user from admin panel
  4. Run bin/magento admin:user:assign-role --username={USER_NAME} --role-id={SAVED_ROLE_ID}
  5. Check that user assigned to role

Expected result (*)

Actual result (*)

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Pull Request In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions