Skip to content

Commit

Permalink
chore: Remove roles from default permissions (#655)
Browse files Browse the repository at this point in the history
Co-authored-by: Douglas Gubert <[email protected]>
  • Loading branch information
Dnouv and d-gubert authored Aug 14, 2023
1 parent a6eefe2 commit 010dce4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/server/permissions/AppPermissions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<IPermission> = [
AppPermissions.user.read,
AppPermissions.user.write,
Expand Down Expand Up @@ -140,8 +146,4 @@ export const defaultPermissions: Array<IPermission> = [
AppPermissions.videoConference.read,
AppPermissions.videoConference.write,
AppPermissions.apis.default,
AppPermissions.moderation.read,
AppPermissions.moderation.write,
AppPermissions.role.read,
AppPermissions.role.write,
];

0 comments on commit 010dce4

Please sign in to comment.