Permission doesn't work
I added an "admin" permission to a user.
However,
await getPermissions()
returns no permissions: { permissions: [], orgCode: 'org_bcddc426a6d' }
And, await getPermission()
returns not granted: { orgCode: 'org_bcddc426a6d', isGranted: false }
What am I missing?1 Reply
Oh, it bit me again.
I had to logout and login again for the permission to take effect. All good now 🙂