- Update peer deps and test deps.
- Update peer deps and test deps.
- Update tests to use
bedrock-account
in place of obsoletebedrock-identity
.
- BREAKING: Upgrade
bedrock-mongodb
to ^7.0.0. - Change mongo APIs to conform to mongo driver 3.5.
- Update dependencies.
- Fix
checkPermission
to function properly with callback and promises.
- Fix issue where callback would not be invoked when result argument was
undefined
.
- Fix bug so promise is returned from
checkPermission
andcheckActorPermission
.
- Add
expandRoles
,mergeCapabilities
, andsubtractCapabilities
utility functions.
- Clean up internals to use async+await, etc.
- Update
bedrock-mongodb
peer dependency. - Update test dependencies.
- Added tests.
- Replace
node-uuid
dependency withuuid
.
- Actor checking in checkPermission API.
- Make removeRole API mark roles as
deleted
.
- Support for roles that are marked as deleted.
- Update dependencies.
- Fix collection name typo.
- Add getPermissions API.
- Use URLs for role ids.
- Add role API.
- Update bedrock dependencies.
- Update package dependencies for npm v3 compatibility.
- Replace underscore with lodash.
- Type check actor.
checkActorPermission
call to check the permission of anactor
; anactor
must specify asysResourceRole
property with its roles and then its permission table will be generated and cached from them.checkPermission
now accepts anactor
or a permission table as its first parameter.
- Use
bedrock.start
since no special privileges required.
- See git history for changes.