feat(editor): Replace middleware for Role checks with Scope checks (#7847)
This commit is contained in:
@@ -92,7 +92,7 @@ export default defineComponent({
|
||||
return this.settingsStore.isEnterpriseFeatureEnabled(EnterpriseEditionFeature.Sharing);
|
||||
},
|
||||
showUMSetupWarning() {
|
||||
return hasPermission(['role'], { role: [ROLE.Default] });
|
||||
return hasPermission(['defaultUser']);
|
||||
},
|
||||
usersListActions(): IUserListAction[] {
|
||||
return [
|
||||
|
||||
Reference in New Issue
Block a user