Project

General

Profile

Bug #16125

An owner_type of "Usergroup" is ignored when owner_id is not specified

Added by Ivan Necas over 2 years ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Inventory
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Is the owner_id is not specified when specifying the owner type,
Foreman silently falls back to owner_type user and current user
instead of failling properly.

Associated revisions

Revision 698e916c (diff)
Added by Shimon Shtein about 2 years ago

Fixes #16125 - add owner type validation

History

#1 Updated by Ivan Necas over 2 years ago

  • Target version set to 1.6.1
  • Subject changed from An owner_type of "Usergroup" is ignored when owner_id is not specified to An owner_type of "Usergroup" is ignored when owner_id is not specified

#2 Updated by Shimon Shtein about 2 years ago

  • Assignee set to Shimon Shtein

#3 Updated by The Foreman Bot about 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3740 added

#4 Updated by Ivan Necas about 2 years ago

  • Target version changed from 1.6.1 to 127

#5 Updated by Shimon Shtein about 2 years ago

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

#6 Updated by Dominic Cleal about 2 years ago

  • Legacy Backlogs Release (now unused) set to 189

Also available in: Atom PDF