9.0.0-beta.5 (2021-09-08)
Features
BREAKING CHANGES
- ๐งจ rename
tokenPermissions.grantedAt
toenabledAt
-
- move
identity.hasTokenPermissions
toidentity.tokenPermissions.hasPermissions
- move
- move
identity.getTokenPermissions
toidentity.tokenPermissions.get
- move
identity.waivePermissions
toidentity.tokenPermissions.waive
- change the type of
AgentWithGroup.agent
fromAgent
toIdentity
. This affects the return
type ofsecurityToken.permissions.getAgents
- remove the
Agent
entity:- move
agent.setPermissionGroup
toidentity.tokenPermissions.setGroup
. It now also
receives the token as a parameter when not passing an existing group. It now throws
an error if the target is not already an agent - move
agent.getPermissionGroup
toidentity.tokenPermissions.getGroup
. It now also
receives the token as a parameter - move
agent.addedAt
toidentity.tokenPermissions.grantedAt
. It now also receives
the token as a parameter
- move