Authorize the project if it's the agent's project

Merged Thong Kuah requested to merge authorize_same_project_agent into master

What does this MR do?

Related issue: #220912 (closed)

Authorize the project if it's the agent's project

This allows for private projects for agents, but only for the same project case.

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Thong Kuah