Feature #6468
Authorization filter owner = current_user
Status:
Closed
Priority:
Normal
Assignee:
Category:
Users, Roles and Permissions
Target version:
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
Associated revisions
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
Applied in changeset 5dfb51bbe0b7c1ff91868437f627e6c535d87542.
Fixes #6468 - Allow filtering/searching by active user