Project

General

Profile

Bug #25346

User with restricted permissions sees all menu items

Added by Timo Goebel about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Users, Roles and Permissions
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

This is possibly a regression: A user with just a `view_hosts` permission can see every menu item. Previously just `Hosts` was displayed.


Related issues

Related to Foreman - Task #23445: Change vertical menu to react implementationClosed
Related to Foreman - Refactor #25355: remove home helperClosed

Associated revisions

Revision d46731c6 (diff)
Added by Tomer Brisker about 4 years ago

Fixes #25346 - Correctly render menu for non-admin users

The new menu implementation in react did not take into account user
permissions as to which menues should be displayed. This also moves the
logic for deciding what to display into the menu classes.

History

#1 Updated by Timo Goebel about 4 years ago

  • Target version set to 1.20.0

#2 Updated by Timo Goebel about 4 years ago

  • Related to Task #23445: Change vertical menu to react implementation added

#3 Updated by The Foreman Bot about 4 years ago

  • Assignee set to Tomer Brisker
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6184 added

#4 Updated by Tomer Brisker about 4 years ago

#5 Updated by Timo Goebel about 4 years ago

  • Fixed in Releases 1.21.0 added

#6 Updated by Tomer Brisker about 4 years ago

  • Status changed from Ready For Testing to Closed

#7 Updated by Tomer Brisker about 4 years ago

  • Fixed in Releases 1.20.0 added
  • Fixed in Releases deleted (1.21.0)

Also available in: Atom PDF