Project

General

Profile

Actions

Bug #32873

closed

Do not check bookmark permissions

Added by Adam Ruzicka over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman
Target version:
-
Difficulty:
easy
Triaged:
Yes
Found in Releases:

Description

view_bookmarks permission got dropped by this commit https://github.com/theforeman/foreman/commit/81512f75ef77af6d30aaa0d6ef6e3b991b184c85 . Rex still tries to use the permission

[1] pry(#<JobInvocationComposer>)> Bookmark.authorized(:view_bookmarks).to_sql
=> "SELECT \"bookmarks\".* FROM \"bookmarks\" WHERE (1=0) ORDER BY \"bookmarks\".\"name\" ASC" 

Related issues 1 (0 open1 closed)

Related to Foreman - Bug #30387: User can view bookmarks without assigning view_bookmarks permission in a roleClosedTomer BriskerActions
Actions

Also available in: Atom PDF