Actions
Feature #20588
closedAdd host.owner search filter to Fact value resource type
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Facts
Target version:
-
Description
Be able to assign Fact value permissions (view_facts, upload_facts) based on host owner including "current_user" as found in the Host resource type.
Example:
Resource type: Fact value
Permission: upload_facts
Unlimited: false
Search: host.owner = current_user
Updated by Avram Lubkin over 7 years ago
I did some digging and could see this is defined in app/models/fact_value.rb and the Hosts reference is defined in /app/models/concerns/hostext/search.rb, but I couldn't sort out how to do the joins. Hopefully someone more familiar with it can take a look.
Updated by Marek Hulán over 3 years ago
- Status changed from New to Resolved
I think this should now be possible, please reopen if it does not work
Actions