-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(roles): allows role service to unassign roles #6434
fix(roles): allows role service to unassign roles #6434
Conversation
Unit Test Results (build & test)621 tests - 1 617 ✔️ - 1 15m 43s ⏱️ -20s Results for commit 18ea936. ± Comparison against base commit 1fe0f01. This pull request removes 7 and adds 6 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
9928d25
to
961db9e
Compare
Big shout out to @samanthafigueredo5 for catching two bugs here - not reflecting cancellation of role assignment, and fixing up the listRoles query made on the frontend! We really appreciate it :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looking solid to me!
...-core/src/main/java/com/linkedin/datahub/graphql/resolvers/role/BatchAssignRoleResolver.java
Show resolved
Hide resolved
...raphql-core/src/main/java/com/linkedin/datahub/graphql/resolvers/role/ListRolesResolver.java
Show resolved
Hide resolved
metadata-service/auth-impl/src/main/java/com/datahub/authorization/role/RoleService.java
Show resolved
Hide resolved
...e/src/test/java/com/linkedin/datahub/graphql/resolvers/role/BatchAssignRoleResolverTest.java
Outdated
Show resolved
Hide resolved
03f6de3
to
ec97e24
Compare
ec97e24
to
18ea936
Compare
Screenshot
Admins can now remove roles, or send an invite link with No Role attached to remove a role from a user
Checklist