Skip to content

Handle user resource in AI authorization

Jan Provaznik requested to merge jp-fix-resource into master

What does this MR do and why?

Related to !122211 (diffs, comment 1424845999)

Handle user resource in AI authorization

It's possible that the resource in context is actually current user. In that case we proceed with user_authorized? instead.

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