Project

General

Profile

Actions

Bug #7217

closed

user w/o host permissions still presented with "New Host" button

Added by Thomas McKay almost 10 years ago. Updated almost 10 years ago.

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

Description

Visiting https://localhost/hosts are presented with a New Host button. Users w/o permission to create a host should not see this button.

Actions #1

Updated by Thomas McKay almost 10 years ago

  • Bugzilla link set to 1132664
Actions #2

Updated by Dominic Cleal almost 10 years ago

  • Status changed from New to Need more information

Cannot reproduce, my user with the "Viewer" role has no such button and the code does use the authorized helper.

Can the new host form be accessed? Please re-check permissions assigned to your user.

Actions #3

Updated by Thomas McKay almost 10 years ago

  • Status changed from Need more information to Closed

User login still brings me to /hosts page by default, but "Permission denied" is displayed.

Actions #4

Updated by Daniel Lobato Garcia almost 10 years ago

I also can't reproduce this, when I log in with an user with only the Viewer role, all I see is "Permission denied" in /hosts, and I don't see any "New Host" button, just "Configure" and "Infrastructure"

Actions #5

Updated by Dominic Cleal almost 10 years ago

  • Status changed from Closed to Rejected

Default page for user login is tracked elsewhere, but that has nothing to do with new host permissions.

Actions

Also available in: Atom PDF