Project

General

Custom queries

Profile

Actions

Feature #6468

closed

Authorization filter owner = current_user

Added by Martin Matuška almost 11 years ago. Updated almost 7 years ago.

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

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 2 (1 open1 closed)

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

Actions
Actions #2

Updated by Marek Hulán almost 11 years ago

Maybe scoped search ext_method could be used for this.

Actions #3

Updated by Martin Ducar almost 11 years ago

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

Actions #4

Updated by Martin Ducar almost 11 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

Actions #11

Updated by Anonymous over 10 years ago

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

Also available in: Atom PDF