Details
Assignee
UnassignedUnassignedReporter
Steve EllisSteve EllisPriority
TBDDevelopment Team
Core: PlatformTestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Unassigned
UnassignedReporter
Steve Ellis
Steve EllisPriority
Development Team
Core: Platform
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created December 5, 2023 at 7:04 PM
Updated January 8, 2024 at 12:33 PM
There are three test users created as part of the sample data of this module. These users are to help test the REDIRECT binding for SSO. However, these users don't have any permissions associated with them. This means that when used as part of a test, the final redirect to the sso-landing page in stripes appears broken, which can be confusing to testers.
By creating the necessary permission user to each of these 3 users the UI will no longer appear broken at the end of the SSO test.
See the resources/sample-data for the data for these 3 users. The following curl shows how to create the permission user object for a given user:
curl -HX-Okapi-Token:<TOKEN> -HX-Okapi-Tenant:diku -HContent-type:application/json -XPOST -d '{"id": "a8c59efd-6ace-469b-a9e8-121da67eb27e", "userId":"2205005b-ca51-4a04-87fd-938eefa8f6de", "permissions": ["okapi.all"]} '<OKAPI URL>/perms/users'