diff --git a/scripts/core/get-superdesk-api-implementation.tsx b/scripts/core/get-superdesk-api-implementation.tsx index 99fbd6b0a0..28a8377aee 100644 --- a/scripts/core/get-superdesk-api-implementation.tsx +++ b/scripts/core/get-superdesk-api-implementation.tsx @@ -445,6 +445,7 @@ export function getSuperdeskApiImplementation( getRelativeOrAbsoluteDateTime: getRelativeOrAbsoluteDateTime, }, privileges: { + getOwnPrivileges: () => privileges.loaded.then(() => privileges.privileges), hasPrivilege: (privilege: string) => sdApi.user.hasPrivilege(privilege), }, preferences: {