Actions
Bug #6926
closedNew user with just anonymous role will get 403 Forbidden upon logon to / (redirected to /hosts)
Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
-
Description
If new user is created with no roles (so I assume it just has anonymous), by default upon logon they get redirected to /hosts and they will see
Permission denied
You are not authorized to perform this action
Please request the required privileges from a foreman administrator
What's more, the HTTP status of this page is 403, which breaks tests.
I believe Foreman should not auto-redirect users to pages they are not able to see. The page /bookmarks works fine.
Updated by Dominic Cleal over 10 years ago
- Is duplicate of Bug #1632: On login with minimal permissions, user is always taken to host page added
Updated by Dominic Cleal over 10 years ago
- Related to Bug #6361: menu item "Hosts --> All hosts" is visible to normal user from anonymous role by default added
Updated by Dominic Cleal over 10 years ago
- Status changed from New to Duplicate
Thanks for the report, I think we have it covered under #1632. This happened the other day when the default view_hosts permission was removed from Anonymous.
Actions