fix(editor): Enterprise features missing with UM (#5995)

* fix allowed roles

* fix(editor): remove unnecessary allowance rule from log streaming route

* fix for log streaming

* trigger checks

---------

Co-authored-by: Romain Minaud <romain.minaud@gmail.com>
This commit is contained in:
Csaba Tuncsik 2023-04-19 10:50:49 +02:00 committed by GitHub
parent f5448269ee
commit f9a810aaf7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -612,11 +612,10 @@ export const routes = [
},
permissions: {
allow: {
loginStatus: [LOGIN_STATUS.LoggedIn],
role: [ROLE.Owner],
role: [ROLE.Default, ROLE.Owner],
},
deny: {
role: [ROLE.Default],
role: [ROLE.Member],
},
},
},
@ -675,7 +674,10 @@ export const routes = [
meta: {
permissions: {
allow: {
role: [ROLE.Owner],
role: [ROLE.Default, ROLE.Owner],
},
deny: {
role: [ROLE.Member],
},
},
},