iam
iam copied to clipboard
Identification and access management library for all JS runtimes that support ES Modules.
Consider adding TTL capabilities for each element of IAM. This would allow for time sensitive auth scenarios, such as temporary administrative access for a user or group, or temporary role...
IAM would benefit from having an event emitter for the following actions: **Resources** - [ ] `create` (new) - [ ] `update` (name, description, rights) - [ ] `delete` **Roles**...
Replaced erroneous `Set.entries()` with `Set.values()`.
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2. Commits 699c459 3.1.2 2f2b5ff fix: trim pattern 25d7c0d 3.1.1 55dda29 fix: treat nocase:true as always having magic 5e1fb8d 3.1.0 f8145c5 Add 'allowWindowsEscape' option 570e8b1...
**Here is my code** ``` import IAM, { Resource, Role, Group, User, Right } from '@author.io/iam'; IAM.createResource('user', ['create', 'read', 'update', 'delete', 'list']) IAM.createResource('task', ['create', 'read', 'update', 'delete', 'list']) IAM.createRole('admin', {...