Skip to content

Allow assigning roles to namespaces #385

@gabor-boros

Description

@gabor-boros

Summary

Description

The namespaces can be attached to organizations, but roles cannot be attached to namespaces. Ideally, Organizations, Namespaces, (and later on) Projects should have Role support.

Tasks

  • Add new endpoints to support namespace roles:
    • V1NamespaceRolesCreate
    • V1NamespaceRoleGet
    • V1NamespaceRolesGet
    • V1NamespaceRoleUpdate
    • V1NamespaceRoleDelete
    • V1NamespaceRoleMembersGet
    • V1NamespaceRoleMembersAdd
    • V1NamespaceRoleMemberRemove
    • V1NamespaceRolePermissionsGet
    • V1NamespaceRolePermissionAdd
    • V1NamespaceRolePermissionRemove
  • Reusing the role components on the front-end, a new roles list and role management features to namespaces (as we have for organizations).
  • Move the namespace details/create/update/edit from organizations detail page to namespaces (so it won't be duplicated), but keep namespace listing on the organizations detail page. The namespace-related links should point to new create/edit/update pages.
  • Update existing e2e tests and add new ones to cover the new UI features.

Notes

  • Follow existing UI design patterns and styles.

Drawbacks

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions