RedHatInsights / mocks

Mock services for testing cloud.redhat.com applications
4 stars 10 forks source link

Fix entitlements/permissions #12

Closed john-dupuy closed 3 years ago

john-dupuy commented 3 years ago

When deploying an ephemeral frontend, I noticed that if I didn't input anything for the entitlements or permissions of a user, the result would be an empty string.

This caused the API request to consider the user to have permissions/entitlements defined and as a result empty lists would be returned.

skarekrow commented 3 years ago

LGTM, will leave merge up to @bsquizz 👀

bsquizz commented 3 years ago

Thanks!