Project

General

Profile

Actions

Bug #23957

open

Testing the API with a custom user role in yaml is not possible

Added by Clark ANDRIANASOLO 11 months ago. Updated 15 days ago.

Status:
Pending technical review
Priority:
N/A
Category:
Web - Maintenance
Target version:
Severity:
UX impact:
I was bothered the first time
User visibility:
Effort required:
Small
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

Currently the CurrentUser.set method that could change the user in the lift request session context does not work in yaml tests.

It is needed to test custom roles for the user (e.g. when checking rights for change requests workflows), so we should be able to specify the user details when running a set of yaml tests.

Actions #1

Updated by Clark ANDRIANASOLO 11 months ago

  • Description updated (diff)
Actions #2

Updated by Clark ANDRIANASOLO 11 months ago

  • Status changed from New to In progress
Actions #3

Updated by Clark ANDRIANASOLO 11 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Clark ANDRIANASOLO to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder/pull/5289
Actions #4

Updated by Vincent MEMBRÉ 10 months ago

  • Target version changed from 8.1.0~alpha1 to 8.1.0~beta1
Actions #5

Updated by Vincent MEMBRÉ 9 months ago

  • Target version changed from 8.1.0~beta1 to 8.1.0~beta2
Actions #6

Updated by Vincent MEMBRÉ 8 months ago

  • Target version changed from 8.1.0~beta2 to 8.1.0~rc1
Actions #7

Updated by Vincent MEMBRÉ 8 months ago

  • Target version changed from 8.1.0~rc1 to 8.1.0
Actions #8

Updated by Vincent MEMBRÉ 8 months ago

  • Target version changed from 8.1.0 to 8.1.1
Actions #9

Updated by Vincent MEMBRÉ 7 months ago

  • Target version changed from 8.1.1 to 8.1.2
Actions #10

Updated by Vincent MEMBRÉ 7 months ago

  • Target version changed from 8.1.2 to 8.1.3
Actions #11

Updated by Vincent MEMBRÉ 6 months ago

  • Target version changed from 8.1.3 to 8.1.4
Actions #12

Updated by Vincent MEMBRÉ 5 months ago

  • Target version changed from 8.1.4 to 8.1.5
Actions #13

Updated by Vincent MEMBRÉ 5 months ago

  • Target version changed from 8.1.5 to 8.1.6
Actions #14

Updated by Vincent MEMBRÉ 4 months ago

  • Target version changed from 8.1.6 to 8.1.7
Actions #15

Updated by Vincent MEMBRÉ 2 months ago

  • Target version changed from 8.1.7 to 8.1.8
Actions #16

Updated by Vincent MEMBRÉ 15 days ago

  • Target version changed from 8.1.8 to 8.1.9
Actions

Also available in: Atom PDF