@awesomepermissions/sdk
v1.0.11
Published
SDK to use awesome permissions
Downloads
6
Readme
Awesome Permissions SDK
Currently in progress.
Website: https://www.awesomepermissions.com
Installation
npm install @awesomepermissions/sdk
Usage
const AwesomePermissions = require('@awesomepermissions/sdk');
const awp = new AwesomePermissions({ accessKey: 'your_access_key' });
const result = await awp.addPermissionsToItems({
items: ['user-id'],
itemTypes: ['user'],
permissions: ['image-id'],
actions: ['view'],
ignoreDuplicateErrors: true,
});
For more information, please refer to the documentation
Contributors
License
MIT