Js Snclient

const response = await repository.security.getAllowedUsers({
contentIdOrPath: '/Root/Content/IT/Document_Library/Chicago/BusinessPlan.docx'
permissions: [ 'Open' ]
})