Project

General

Profile

Actions

Refactor #10025

closed

Move taxonomy related methods and scopes to Host::Base

Added by Marek Hulán over 9 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Organizations and Locations
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Host::Base already deals with taxonomies, but for some reason we define default_scope and other essential taxonomies related methods in Host::Manage descendant class. That can easy lead to duplication and out of sync of other inheriting classes in plugins (e.g. discovery). We should move all taxonomy related code that is not specific for Host::Manage to Host::Base.


Related issues 3 (1 open2 closed)

Related to Foreman - Tracker #10022: Taxonomies related issuesNew04/05/2015

Actions
Related to Discovery - Bug #10005: CVE-2015-1844 - Discovery hosts are not restricted to user taxonomiesClosedLukas Zapletal04/02/2015Actions
Related to Foreman - Bug #9947: CVE-2015-1844 - GET /api/hosts doesn't respect organization/location membershipClosedMarek Hulán03/30/2015Actions
Actions #1

Updated by Marek Hulán over 9 years ago

Actions #2

Updated by Marek Hulán over 9 years ago

  • Related to Bug #10005: CVE-2015-1844 - Discovery hosts are not restricted to user taxonomies added
Actions #3

Updated by The Foreman Bot over 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2287 added
  • Pull request deleted ()
Actions #4

Updated by Dominic Cleal over 9 years ago

  • Related to Bug #9947: CVE-2015-1844 - GET /api/hosts doesn't respect organization/location membership added
Actions #5

Updated by Dominic Cleal about 9 years ago

  • Translation missing: en.field_release set to 40
Actions #6

Updated by Marek Hulán about 9 years ago

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

Also available in: Atom PDF