Refactor #17571

The foreman tools js module could be refactored to take advantage of some ES6 features

Added by Tomer Brisker 9 months ago. Updated 8 months ago.

Assigned To:Tomer Brisker
Category:Web Interface
Target version:Team Daniel - iteration 6
Difficulty: Bugzilla link:
Found in release: Pull request:
Story points-
Velocity based estimate-
Release1.14.0Release relationshipAuto

Associated revisions

Revision 9a082a8b
Added by Tomer Brisker 9 months ago

Fixes #17571 - Refactor to use ES6 syntax

This also extracts the inherited user roles function to a sepereate
module, adds tests and refactors it. These changes also fix two other
1. a possible stored XSS in usergroup names,
2. tooltips on tables were broken (due to => syntax not changing `this`)


#1 Updated by The Foreman Bot 9 months ago

  • Status changed from Assigned to Ready For Testing
  • Pull request added

#2 Updated by Anonymous 9 months ago

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

#3 Updated by Dominic Cleal 9 months ago

  • Release set to 1.14.0

#4 Updated by Daniel Lobato Garcia 8 months ago

  • Target version set to Team Daniel - iteration 6

Also available in: Atom PDF