Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix(frontend): use allowRequestRole instead of allowSelfApproval for request role button (#19067)

Danny Xud4d0d4ca8455
diff --git a/frontend/src/components/ProjectMember/ProjectMemberPanel.vue b/frontend/src/components/ProjectMember/ProjectMemberPanel.vue
index 65ffa30ed5..415cb3007c 100644
--- a/frontend/src/components/ProjectMember/ProjectMemberPanel.vue
+++ b/frontend/src/components/ProjectMember/ProjectMemberPanel.vue
@@ -198,7 +198,7 @@ const hasRequestRoleFeature = computed(() =>
const shouldShowRequestRoleButton = computed(() => {
return (
- props.project.allowSelfApproval && hasWorkspacePermissionV2("bb.roles.list")
+ props.project.allowRequestRole && hasWorkspacePermissionV2("bb.roles.list")
);
});