Feature #6468
closed
Authorization filter owner = current_user
Added by Martin Matuška over 10 years ago.
Updated over 6 years ago.
Category:
Users, Roles and Permissions
|
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)
- Blocks Tracker #4552: New permissions/authorization system issues added
Maybe scoped search ext_method could be used for this.
I'm willing to test this when some code is prepared, this is real blocker after our switch to Foreman 1.5
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
- Status changed from New to Assigned
- Assignee set to Tomer Brisker
- Target version set to 1.7.4
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/1713 added
- Pull request deleted (
)
- Target version changed from 1.7.4 to 1.7.3
- Translation missing: en.field_release set to 21
- Related to Bug #7440: autocomplete for 'owner = current_user' is not working added
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Also available in: Atom
PDF