Skip to content

Expose required parameters in Agent Authorization UI

Issue: FE: Allow users to map an available agent to a ... (#444857 - closed)

What does this MR do and why?

CONTEXT The changes in this MR are behind the remote_development_namespace_agent_authorization feature flag.

This MR sets up two parameters that are required to implement FE: Allow users to map an available agent to a ... (#444857 - closed) in the Agent Authorization UI:

  1. Exposing the permission to admin agent authorizations by injecting it in the app initializer.
  2. Exposing the namespace's ID that is obtained from a GraphQL query.

I created this small MR to separate some of the changes introduced in Add Map/unmap agent actions to Agent auth UI (!154303 - merged) which became too large.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

This MR doesn't introduce user-facing changes.

How to set up and validate locally

There isn't new behavior introduced in this MR. The follow-up MR introduces the behavior Add Map/unmap agent actions to Agent auth UI (!154303 - merged).

Related to #444857 (closed)

Edited by Enrique Alcántara

Merge request reports