We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68a6c81 commit 14fe9f2Copy full SHA for 14fe9f2
packages/editor-ui/src/components/SettingsSidebar.vue
@@ -165,7 +165,9 @@ export default defineComponent({
165
return this.canUserAccessRouteByName(VIEWS.COMMUNITY_NODES);
166
},
167
canAccessApiSettings(): boolean {
168
- return this.canUserAccessRouteByName(VIEWS.API_SETTINGS);
+ return (
169
+ this.settingsStore.isPublicApiEnabled && this.canUserAccessRouteByName(VIEWS.API_SETTINGS)
170
+ );
171
172
canAccessLdapSettings(): boolean {
173
return this.canUserAccessRouteByName(VIEWS.LDAP_SETTINGS);
0 commit comments