diff --git a/src/server/permissions/AppPermissions.ts b/src/server/permissions/AppPermissions.ts index f2aa2a523..de7c85d9b 100644 --- a/src/server/permissions/AppPermissions.ts +++ b/src/server/permissions/AppPermissions.ts @@ -109,6 +109,12 @@ export const AppPermissions = { }, }; +/** + * @description + * Default permissions for apps + * Used to ensure backward compatibility with apps + * that were developed before the permission system was introduced. + */ export const defaultPermissions: Array = [ AppPermissions.user.read, AppPermissions.user.write, @@ -140,8 +146,4 @@ export const defaultPermissions: Array = [ AppPermissions.videoConference.read, AppPermissions.videoConference.write, AppPermissions.apis.default, - AppPermissions.moderation.read, - AppPermissions.moderation.write, - AppPermissions.role.read, - AppPermissions.role.write, ];