diff --git a/backend/authentication/auth.js b/backend/authentication/auth.js index 64c89f4..c630c1b 100644 --- a/backend/authentication/auth.js +++ b/backend/authentication/auth.js @@ -68,15 +68,7 @@ exports.initialize = function () { const setupRoles = async () => { const required_roles = { admin: { - permissions: [ - 'filemanager', - 'settings', - 'subscriptions', - 'sharing', - 'advanced_download', - 'downloads_manager', - 'tasks_manager' - ] + permissions: consts.AVAILABLE_PERMISSIONS }, user: { permissions: [