Skip to content

Fix 500 error when accessing resources as anonymous user

Fabio Pitino requested to merge fp-fix-catalog-resource-anonymous-access into master

What does this MR do and why?

Related to Backend: Unauthenticated user gets 500 error wh... (#433380 - closed)

Fix 500 error when accessing resources as anonymous user

Fixes the nil exception and adds more test coverage.

Changelog: fixed

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports