Project

General

Profile

Actions

Bug #30993

closed

HRT endpoint enables owner in strong params definition

Added by Marek Hulán over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Host registration
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

While it does no harm, the strong params whitelist contains the owner https://github.com/theforeman/foreman/pull/8018/files/71f59ba79a611232ea93ae32847b3d159125dba5#diff-df936dd14181cb268280386173da4a5aR25

Only owner_id and owner_type are harfmul, however this should not be allowed anyway.


Related issues 1 (0 open1 closed)

Related to Foreman - Feature #30440: Simple & automatic host registration WFClosedLeos StejskalActions
Actions #1

Updated by Marek Hulán over 3 years ago

  • Related to Feature #30440: Simple & automatic host registration WF added
Actions #2

Updated by The Foreman Bot over 3 years ago

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

Updated by The Foreman Bot over 3 years ago

  • Fixed in Releases 2.3.0 added
Actions #4

Updated by Leos Stejskal over 3 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by Tomer Brisker over 3 years ago

  • Category set to Host registration
Actions

Also available in: Atom PDF