515253545556575859
Collection<PersistentSharingInvitation> invitations = getSharingInvitation( invitationUid, workspace, password, manager); if (invitations.isEmpty()) { throw new AuthorizationException( "User not authorized to access workspace"); } }
474849505152535455
Collection<PersistentWorkspacePermission> permissions = getWorkspacePermissionsForCurrentUser( workspace, manager); if (permissions.isEmpty()) { throw new AuthorizationException( "User not authorized to access workspace"); } }