Project

General

Profile

Actions

Bug #23957

open

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

Added by Clark ANDRIANASOLO 4 months ago. Updated 11 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 4 months ago

  • Description updated (diff)
Actions #2

Updated by Clark ANDRIANASOLO 4 months ago

  • Status changed from New to In progress
Actions #3

Updated by Clark ANDRIANASOLO 4 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É 3 months ago

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

Updated by Vincent MEMBRÉ about 2 months ago

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

Updated by Vincent MEMBRÉ about 1 month ago

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

Updated by Vincent MEMBRÉ 17 days ago

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

Updated by Vincent MEMBRÉ 11 days ago

  • Target version changed from 8.1.0 to 8.1.1
Actions

Also available in: Atom PDF