-
Sub-task
-
Resolution: Done
-
Normal
-
None
-
Quality / Stability / Reliability
-
False
-
-
False
-
None
-
Unset
-
-
-
A&M Tech Debt Sprint Q1 2025, Access & Management Sprint 106, Access & Management Sprint 107, Access & Management Sprint 108, Access & Management Sprint 109, Access & Management Sprint 110, Access & Management Sprint 111, A&M Tech Debt Sprint Q2 2025, Access & Management Sprint 112
Fresh service account returns no permissions
Description
The service accounts that are not added to a group with certain roles on it should not receive any permissions.
Preconditions.
1. Add a service account to the principals table.
2. Send a request to the "/access" endpoint with a fake X-RH-Identity header with the contents of the just created service account.
Desired outcome
The "data" array containing the permissions should be empty.