Skip to content

Magento admin gets in redirect loop when I login with a role that has no resources assigned #10611

Closed
@kanduvisla

Description

@kanduvisla

The Magento admin gets in redirect loop when I login with a role that has no resources assigned.

Preconditions

  1. Magento 2.1.7
  2. Chrome

Steps to reproduce

  1. Create a user role with no resources assigned to it.
  2. Create an admin user with that role.
  3. Log in with that user.

Expected result

I would expect a redirect back to the login page with a message or a page that shows an error message or warning.

Actual result

I get an ERR_TOO_MANY_REDIRECTS error in Chrome, insinuating that the page is in a redirect loop. The URL is: http://somedomain.dev/admin_1gqkv1/admin/noroute/denied/key/b6d4.../.

Metadata

Metadata

Assignees

Labels

Fixed in 2.2.xThe issue has been fixed in 2.2 release lineIssue: 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 developmentbug report

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions