Added migration to add tasks manager permission for admin role

All routes are now properly protected against logged in users w/o permissions
This commit is contained in:
Isaac Abadi
2022-06-30 00:43:57 -04:00
parent 703848e4e5
commit 077a0d8fdb
6 changed files with 37 additions and 13 deletions

View File

@@ -221,7 +221,8 @@ exports.AVAILABLE_PERMISSIONS = [
'subscriptions',
'sharing',
'advanced_download',
'downloads_manager'
'downloads_manager',
'tasks_manager'
];
exports.DETAILS_BIN_PATH = 'node_modules/youtube-dl/bin/details'