Project

General

Profile

Feature #20736

Default User role that can also save bookmarks

Added by Marek Hulán about 1 year ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

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 (diff)
Added by Marek Hulán about 1 year ago

Fixes #20736 - improve bookmark permissions

History

#1 Updated by The Foreman Bot about 1 year ago

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

#2 Updated by Ivan Necas about 1 year 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
  • Legacy Backlogs Release (now unused) set to 296

Also available in: Atom PDF