Project

General

Profile

Actions

Feature #6468

closed

Authorization filter owner = current_user

Added by Martin Matuška over 10 years ago. Updated over 6 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 #1

Updated by Dominic Cleal over 10 years ago

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

Updated by Marek Hulán over 10 years ago

Maybe scoped search ext_method could be used for this.

Actions #3

Updated by Martin Ducar over 10 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 over 10 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 #5

Updated by Tomer Brisker about 10 years ago

  • Status changed from New to Assigned
  • Assignee set to Tomer Brisker
Actions #6

Updated by Dominic Cleal about 10 years ago

  • Target version set to 1.7.4
Actions #7

Updated by The Foreman Bot about 10 years ago

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

Updated by Anonymous about 10 years ago

  • Target version changed from 1.7.4 to 1.7.3
Actions #9

Updated by Dominic Cleal about 10 years ago

  • Translation missing: en.field_release set to 21
Actions #10

Updated by Dominic Cleal about 10 years ago

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

Updated by Anonymous about 10 years ago

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

Also available in: Atom PDF