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
Category:
Web - Maintenance
UX impact:
I was bothered the first time
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.
- Description updated (diff)
- Status changed from New to In progress
- 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
- Target version changed from 8.1.0~alpha1 to 8.1.0~beta1
- Target version changed from 8.1.0~beta1 to 8.1.0~beta2
- Target version changed from 8.1.0~beta2 to 8.1.0~rc1
- Target version changed from 8.1.0~rc1 to 8.1.0
- Target version changed from 8.1.0 to 8.1.1
- Target version changed from 8.1.1 to 8.1.2
- Target version changed from 8.1.2 to 8.1.3
- Target version changed from 8.1.3 to 8.1.4
- Target version changed from 8.1.4 to 8.1.5
- Target version changed from 8.1.5 to 8.1.6
- Target version changed from 8.1.6 to 8.1.7
- Target version changed from 8.1.7 to 8.1.8
- Target version changed from 8.1.8 to 8.1.9
Also available in: Atom
PDF