Project

General

Profile

Actions

Bug #5541

closed

Filter of resource type Organization can result in error condition when trying to access organization resources

Added by Eric Helms almost 10 years ago. Updated almost 6 years ago.

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

Description

1. Create new role
2. Create new user
3. Assign user to new role
4. Add filter to role of resource type 'Organization', select 'edit_organization' verb
5. Click organizations tab and select 'ACME_Corporation'
6. As the new user, with only the new role, do a PUT to /api/v2/organizations/1

Error Output:

{
"error": {
"message": "Field 'organization_id' not recognized for searching!",
"class": "ScopedSearch::QueryNotSupported"
}
}


Related issues 4 (1 open3 closed)

Related to Foreman - Bug #5664: Users permissions on hosts are not working properly with organizationsClosedMarek Hulán05/11/2014Actions
Related to Foreman - Bug #7615: Unable to create a non-taxonomy role filter when current context setClosedMarek Hulán09/23/2014Actions
Is duplicate of Foreman - Bug #5397: Architectures filter blows up if an organization is selectedDuplicate04/22/2014Actions
Blocks Foreman - Tracker #4552: New permissions/authorization system issuesNew

Actions
Actions

Also available in: Atom PDF