Project

General

Profile

Feature #6468

Authorization filter owner = current_user

Added by Martin Matuška almost 9 years ago. Updated almost 5 years ago.

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

Description

The new rights system in Foreman 1.5 is missing an ability to match the host owner with the current user logged in.

A possible syntax could be:

owner = current_user

and/or

owner_id = current_user_id

This way an abstract role for a user able to manage just his own hosts is possible (or his own hosts in addition to other hosts)


Related issues

Related to Foreman - Bug #7440: autocomplete for 'owner = current_user' is not workingClosed2014-09-15
Blocks Foreman - Tracker #4552: New permissions/authorization system issuesNew

Associated revisions

Revision 5dfb51bb (diff)
Added by Tomer Brisker over 8 years ago

Fixes #6468 - Allow filtering/searching by active user

History

#1 Updated by Dominic Cleal almost 9 years ago

  • Blocks Tracker #4552: New permissions/authorization system issues added

#2 Updated by Marek Hulán almost 9 years ago

Maybe scoped search ext_method could be used for this.

#3 Updated by Martin Ducar almost 9 years ago

I'm willing to test this when some code is prepared, this is real blocker after our switch to Foreman 1.5

#4 Updated by Martin Ducar almost 9 years ago

Can we change this to bug as this is regression from 1.4 version, unless you are willing to have 1:1 mapping role to user

#5 Updated by Tomer Brisker almost 9 years ago

  • Status changed from New to Assigned
  • Assignee set to Tomer Brisker

#6 Updated by Dominic Cleal almost 9 years ago

  • Target version set to 1.7.4

#7 Updated by The Foreman Bot almost 9 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/1713 added
  • Pull request deleted ()

#8 Updated by Anonymous over 8 years ago

  • Target version changed from 1.7.4 to 1.7.3

#9 Updated by Dominic Cleal over 8 years ago

  • Legacy Backlogs Release (now unused) set to 21

#10 Updated by Dominic Cleal over 8 years ago

  • Related to Bug #7440: autocomplete for 'owner = current_user' is not working added

#11 Updated by Anonymous over 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF