Repository navigation
10.1.0
·
1 commit
to master
since this release
October 20 2026
Added
grantToken()->categories()andgrant()->categories()grant the get permission onPNGrantCategory::CHANNELS,PNGrantCategory::UUIDS, or both. Keysets that restrict App Context listing only allowgetAllChannelMetadata()andgetAllUUIDMetadata()for clients holding these grants.parseToken()exposes the granted categories throughgetChannelsCategory()andgetUuidsCategory(), and Grant results expose them throughgetCategories(). PAMv2 category grants require an auth key and accept onlyget(true)to grant orget(false)to revoke.
Fixed
- Every
-or_in a token flipped one bit of the decoded data. Authorization was not affected, because the server validates the raw token, but values read from parsed tokens could be wrong, for example full-access permissions read as 251 instead of 255, or timestamps off by up to about 18 hours. If you stored or comparedgetSignature()values, recompute them after upgrading. - Fixed
isGetEnabled(),isUpdateEnabled()andisJoinEnabled()on channel, channel group and uuid entries of Grant and Audit results returning the manage permission. - Fixed
audit()throwing aTypeErroron every successful response instead of returning aPNAccessManagerAuditResult.