The resources responsible for installing and managing permissions
Check organisations permissions
/**
* @param {number[]} organisationId
* @param {function} callback optional
*/
netField.permissions.organisations(organisationId, [callback])
Check users permissions
/**
* @param {number[]} userIds
* @param {function} callback optional
*/
netField.permissions.users(userIds, [callback])
Check roles permissions
/**
* @param {any} roles
* @param {function} callback optional
*/
netField.permissions.roles(roles, [callback])
Check tenants permissions
/**
* @param {number[]} tenantIds
* @param {function} callback optional
*/
netField.permissions.tenants(tenantIds, [callback])
Check EdgeOS permissions
/**
* @param {string[]} edgeosId
* @param {function} callback optional
*/
netField.permissions.edgeos(edgeosIds, [callback])
Check device/container group permissions
/**
* @param {string[]} groupIds
* @param {function} callback optional
*/
netField.permissions.groups(groupIds, [callback])