Feature #20736

Default User role that can also save bookmarks

Added by Marek Hulán 9 months ago. Updated 9 months ago.

Assigned To:Marek Hulán
Target version:-
Difficulty: Bugzilla link:1197650
Found in release: Pull request:https://github.com/theforeman/foreman/pull/4786
Story points-
Velocity based estimate-
Release1.17.0Release relationshipAuto


Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1197650

Description of problem:
An user with view permissions cannot save bookmarks. The option is shown below the dropdown menu of Saved searches. After clicking boomark this search the dialog to Save the search is empty.

Steps to Reproduce:
1. Create user with only view permissions
2. Login as view user
3. goto hosts page
4. Enter search "name ~ Dummy"
5. Click bookmark this search

Actual results:
Empty dialog, search cannot be saved.

Expected results:
Allow saving of Bookmark.
Alternative to not show the Bookmark this search option

Additional info:

After analyzing and reading more comments in the BZ, several things are required:
  • introducing a new built-in role that grants all bookmark permissions
  • hiding the "create bookmark" link in search in case user does not have create_bookmarks permission

Associated revisions

Revision ee4aa64c
Added by Marek Hulán 9 months ago

Fixes #20736 - improve bookmark permissions


#1 Updated by The Foreman Bot 9 months ago

  • Status changed from New to Ready For Testing
  • Assigned To set to Marek Hulán
  • Pull request https://github.com/theforeman/foreman/pull/4786 added

#2 Updated by Ivan Necas 9 months ago

  • Subject changed from Default User role that can also save bookmarks to Default User role that can also save bookmarks
  • Status changed from Ready For Testing to Closed
  • Release set to 1.17.0

Also available in: Atom PDF