Skip to content

Admin panel is not accessible after limited permissions set to at least one admin account #25881

Closed
@sivaschenko

Description

@sivaschenko

Preconditions (*)

Magento is installed

Steps to reproduce (*)

  • Login to admin panel
  • Go to System->User Roles
  • Create a new role:
  • In Role Resources check only Media Gallery
    image
  • Create a new admin user account and assign the created role to it
  • Log out from admin panel
  • Log in to admin panel as a newly created user
  • Log in to admin panel as an admin having full permissions

Expected result (*)

The new admin user is logged into the admin panel.
Other admin accounts are not affected.

Actual result (*)

User is redirected to frontend page with status code 404.
Admin panel is not available for other admins with full permissions
image

Additional Info

The issue can be reproduced if admin user role includes only ACL resources that are not associated with page/menu item in the admin panel

Metadata

Metadata

Assignees

Labels

Component: AclComponent: BackendFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions