Skip to content

Workspaces | View Workspace Details #1874

@MostafaMegahid

Description

@MostafaMegahid

As a platform operator, I need to view all the resources that construct any workspaces (RBAC + Policies) to understand the perimeters of this workspace/tenant. I also need to be able to view all applications that this workspace is associated with.

Acceptance Criteria

  • The workspace Details page contains 4 main sections:

    • "Go to Workspace Applications" button, which navigates to the applications page filtered by the workspace/tenant name
    • Details section contains the workspace name, and the namespaces associated with the workspace.
    • 4 tabs where each lists Service Accounts, RoleBindings, Roles, and Policies
      • Service Accounts tab, It shows a table list of Service Accounts having tenant label with the workspace name. The table columns are name, namespace, age, and view yaml (Clickable link)
      • RoleBindings tab, It shows a table list of RoleBindings having tenant label with the workspace name. The table columns are name, namespace, bindings (comma separated), role, age, and view yaml (Clickable link)
      • Roles tab, It shows a table list of Roles having tenant label with the workspace name. The table columns are name, namespace, age, Rules(Clickable link), and view yaml (Clickable link)
      • Policies tab, it shows a table list of polices having tenant label with the workspace name. The table columns are policy name, category, severity, age
  • For the RoleBindings tab:

    • Bindings are array of strings comma separated for the subjects' names
    • Role is the name of roleRef
  • When the user clicks on view yaml in either Roles or RoleBindings, we will show the raw yaml manifest of the Role or the RoleBinding respectively. The yaml will show in a popup.

  • When the user clicks on the Rules, It will show a popup with list of the rules (resource, verbs, and API group)

  • In the policies tab, the policy name is clickable and will navigate the user to a new tab with the policy opened from the policies tab in the side nav.

Design

https://www.figma.com/file/IVHnM9iyeFWpd11evtY8ux/Weave-GitOps?node-id=14437%3A97874&t=EMsjFYrbiV2WC8AG-4

Acceptance Testing Bugs:

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions