Project

General

Profile

Bug #2501

User Filters only apply to Host::Managed

Added by Greg Sutcliffe almost 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Low
Category:
Users, Roles and Permissions
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

The current User filtering creates SQL like:

Host::Managed Load (1.0ms)  SELECT "hosts".* FROM "hosts" ...

This is a problem, as for a non-admin user to use the Discovery plugin, the User must be able to have permissions on the Host::Discovered object in order to save it as Host::Managed.


Related issues

Has duplicate Discovery - Bug #2846: Non-admin users not allowed to provision discovered hostsDuplicate2013-07-26

Associated revisions

Revision 9d402d07 (diff)
Added by Greg Sutcliffe over 9 years ago

Fixes #2501 - Allow my_hosts scope to include all subclasses of Host::Base

History

#1 Updated by Greg Sutcliffe almost 10 years ago

  • Assignee deleted (Greg Sutcliffe)
  • Priority changed from Normal to Low

Setting this to Low as it only affects plugins for the moment.

#2 Updated by Dominic Cleal over 9 years ago

  • Target version deleted (1.2.0)

#3 Updated by Greg Sutcliffe over 9 years ago

  • Target version set to 1.3.0

#4 Updated by Dominic Cleal over 9 years ago

  • Description updated (diff)
  • Status changed from New to Ready For Testing
  • Assignee set to Greg Sutcliffe

#5 Updated by Greg Sutcliffe over 9 years ago

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

Also available in: Atom PDF