Bug #16125

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

Added by Ivan Necas 7 months ago. Updated 6 months ago.

Status:Closed
Priority:Normal
Assigned To:Shimon Shtein
Category:Inventory
Target version:Team Ivan Iteration 3
Difficulty: Bugzilla link:1203865
Found in release: Pull request:https://github.com/theforeman/foreman/pull/3740
Story points-
Velocity based estimate-
Release1.14.0Release relationshipAuto

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
Added by Shimon Shtein 7 months ago

Fixes #16125 - add owner type validation

History

#1 Updated by Ivan Necas 7 months ago

  • 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
  • Target version set to Team Ivan Iteration 2

#2 Updated by Shimon Shtein 7 months ago

  • Assigned To set to Shimon Shtein

#3 Updated by The Foreman Bot 7 months ago

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

#4 Updated by Ivan Necas 7 months ago

  • Target version changed from Team Ivan Iteration 2 to Team Ivan Iteration 3

#5 Updated by Shimon Shtein 7 months ago

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

#6 Updated by Dominic Cleal 6 months ago

  • Release set to 1.14.0

Also available in: Atom PDF