florence-relation-mapper
v0.0.4
Published
Prettifier for permissions
Downloads
2
Readme
florence-relation-mapper
Prettifier for permissions
Features
- Obtain permissions for users
- Obtain permissions for teams
Getting started
Install
$ npm install @florencehealthcare/florence-relation-mapper
Usage
const RelationMapper = require('@florencehealthcare/florence-relation-mapper');
1. Obtain permission info for users
const RelationMapper = require('@florencehealthcare/florence-relation-mapper');
const params = {
};
RelationMapper.getInfoByUserId(params, (err, res) => {
if (!err) {
// Permissions for a user obtained successfully
}
});
2. Obtain permission info for teams
const RelationMapper = require('@florencehealthcare/florence-relation-mapper');
const params = {
};
RelationMapper.getInfoByTeamId(params, (err, res) => {
if (!err) {
// Permissions for a team obtained successfully
}
};
License
UNLICENSED