Project

General

Profile

Actions

Bug #6926

closed

New user with just anonymous role will get 403 Forbidden upon logon to / (redirected to /hosts)

Added by Jan Pazdziora over 9 years ago. Updated over 9 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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.


Related issues 2 (1 open1 closed)

Related to Foreman - Bug #6361: menu item "Hosts --> All hosts" is visible to normal user from anonymous role by defaultClosedDaniel Lobato Garcia06/24/2014Actions
Is duplicate of Foreman - Bug #1632: On login with minimal permissions, user is always taken to host pageNew05/18/2012Actions
Actions #1

Updated by Dominic Cleal over 9 years ago

  • Is duplicate of Bug #1632: On login with minimal permissions, user is always taken to host page added
Actions #2

Updated by Dominic Cleal over 9 years ago

  • Related to Bug #6361: menu item "Hosts --> All hosts" is visible to normal user from anonymous role by default added
Actions #3

Updated by Dominic Cleal over 9 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

Also available in: Atom PDF