Skip to content

v9.0.0-beta.5

Pre-release
Pre-release
Compare
Choose a tag to compare
@monitz87 monitz87 released this 08 Sep 12:28
· 2108 commits to master since this release
f2cbcc9

9.0.0-beta.5 (2021-09-08)

Features

  • 馃幐 rename grantedAt (a1bc8c3)
  • create namespace for token permissions (2f5b024)

BREAKING CHANGES

  • 馃Ж rename tokenPermissions.grantedAt to enabledAt
    • move identity.hasTokenPermissions to identity.tokenPermissions.hasPermissions
  • move identity.getTokenPermissions to identity.tokenPermissions.get
  • move identity.waivePermissions to identity.tokenPermissions.waive
  • change the type of AgentWithGroup.agent from Agent to Identity. This affects the return
    type of securityToken.permissions.getAgents
  • remove the Agent entity:
    • move agent.setPermissionGroup to identity.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 to identity.tokenPermissions.getGroup. It now also
      receives the token as a parameter
    • move agent.addedAt to identity.tokenPermissions.grantedAt. It now also receives
      the token as a parameter