diff --git a/src/composables/useCurrentUser.js b/src/composables/useCurrentUser.js index 8b6549275..b4899663d 100644 --- a/src/composables/useCurrentUser.js +++ b/src/composables/useCurrentUser.js @@ -31,11 +31,6 @@ export function useCurrentUser() { } }); - console.log('hasCurrentUserAtLeastOneAssignedRoleInStage'); - console.log( - assignedRoleIds, - roles.some((role) => assignedRoleIds.includes(role)), - ); return roles.some((role) => assignedRoleIds.includes(role)); } diff --git a/src/managers/FileManager/useFileManagerConfig.js b/src/managers/FileManager/useFileManagerConfig.js index d7db40f8c..daed95021 100644 --- a/src/managers/FileManager/useFileManagerConfig.js +++ b/src/managers/FileManager/useFileManagerConfig.js @@ -11,7 +11,7 @@ export const FileManagerConfigurations = { { roles: [pkp.const.ROLE_ID_AUTHOR], actions: [ - Actions.FILE_FILE_LIST, + Actions.FILE_LIST, Actions.FILE_EDIT, Actions.FILE_DOWNLOAD_ALL, ], diff --git a/src/managers/GalleyManager/GalleyManagerCellActions.vue b/src/managers/GalleyManager/GalleyManagerCellActions.vue index 8603ca83d..39eca02bb 100644 --- a/src/managers/GalleyManager/GalleyManagerCellActions.vue +++ b/src/managers/GalleyManager/GalleyManagerCellActions.vue @@ -1,12 +1,15 @@