Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* frontend: remove old rbac api mock * wip: rbac * frontend: fix principal type dropdown * frontend: migrate create user component from modal to page, fix table search * frontend: add routing for users and roles * frontend: remove old rbac api mock * wip: rbac * frontend: fix principal type dropdown * frontend: migrate create user component from modal to page, fix table search * frontend: add routing for users and roles * proto: initial definition of security api (#1201) * frontend: remove old rbac api mock * wip: rbac * frontend: fix principal type dropdown * frontend: migrate create user component from modal to page, fix table search * frontend: add routing for users and roles * proto: initial definition of security api * proto: fix filter options and add pagination * proto: add ListRolesWithMembers * proto: add next_page_token to list responses, a few fixes from PR feedback * proto: more security api fixes from review * proto: update spelling and make role message an object in requests * proto: remove google.http.api and grpc gateway annotations from security api definitions * proto: remove ListUserRoles * proto: remove principal type * proto: remove ListRolesWithMembers * use role_name instead of role Co-authored-by: Martin Schneppenheim <[email protected]> * proto: use role_name and principal where more appropriate in security api * proto: use role_name and principal where more appropriate in security api * proto: make principal not optional in filter * proto: remove optionals and add tole_name to ListRoleMembersResponse --------- Co-authored-by: rikimaru0345 <[email protected]> Co-authored-by: Martin Schneppenheim <[email protected]> * frontend: add placeholder role memberships for testing * frontend: change breadcrumbs in user details page * proto: remove UpdateRole security API * add implementations for all basic roleApi methods * RBAC Users * Editing users works in RBAC * Better deleting of ACL in roles * Adds regexp validation to Roles in RBAC * Adds number of users to a RBAC role detail * Delete role only available after typing confirm in a modal * Changes position of save/cancel buttons in RBAC * backend: add roles for auth hooks * frontend: skip over empty role assignements and fix breadcrumbs in user edit page * Adds Edit button to Roles list * Cleanup of the RoleCreate page * Fixes CreateRole page loading * More safe routing in the RBAC Roles * backend: rename role authz hooks to use Redpanda * frontend: align design of update user edit/details to role edit/details * frontend: remove debug code, merge stash: "PermissionAssignementDetails" * frontend: fix delete user button in user details * frontend: update how user create "done" page looks * update redpanda/ui; use inputMatchText of ConfirmItemDeleteModal for roles and users * backend: add unimplemented version of security service * backend: add security service to endpoint capability * Table heights in rbac * Users renamed to principals * Revert URL changes * frontend: remove ability to create acls for roles in the acl editor, users should use the role details/edit role pages for that * frontend: only show users in the acls list; acls for roles should be managed in roles details and edit role pages * frontend: add user to selected roles on user create * Show assigned roles in a principal table * Adds duplicity validation for users & roles * Fixes lint * frontend: check if SecurityService is available for roles api, and disable roles tab if not * frontend: also list principals that are only referenced through roles or acls (and are not service accounts) * frontend: remove "delete" from user details page when it is not a service account * frontend: add little indicator tag to differentiate between service account (redpanda) users and and custom principals * Show prefixed ACLs in user details * backend: fix compatibility endpoint * Include * in PermissionAssignemntsDetails * Update frontend/src/components/pages/acls/Models.ts * Change the name of a button from Principal -> User * frontend: fix passing cluster acls * frontend: create empty clusterAcls when editting a role * frontend: remove user from all its role, when it gets deleted * frontend: properly redirect to user list after deleting a user * frontend: change create acl dropdown to disabled, as its always about users (roles should be editted in the RoleCreate and RoleEdit pages) * frontend: refresh role memberships after deleting a user, so it doesn't become a phantom entry in the list * backend: add redpanda min version to compatibility endpoint * frontend: guard roles related components and actions behind roles api… (#1234) * frontend: guard roles related components and actions behind roles api feature flag * frontend: add roles api check to rendering and to roles api * frontend: fix promises and edit user button visibility * frontend: fix promises * frontend: fix refreshRoles promise * frontend: refresh role members after role delete --------- Co-authored-by: rikimaru0345 <[email protected]> Co-authored-by: Martin Schneppenheim <[email protected]> Co-authored-by: Jan Vorcak <[email protected]>
- Loading branch information