package
2.32.0
Repository: https://github.com/onsdigital/dp-authorisation.git
Documentation: pkg.go.dev

# Functions

GetDefaultPermissionsBundle returns a default set permissions bundle data.
NewFakePermissionsAPI creates a new instance of FakePermissionsAPI with a default permissions bundle response.

# Variables

AdminJWTToken is a valid JWT token that contains the administrator group 'groups/role-admin'.
PublisherJWTToken is a valid JWT token that contains the publisher group 'groups/role-admin'.
ZebedeeServiceToken is a non-JWT old world service token that the library is going to have to be able to handle for transitional support.

# Structs

FakePermissionsAPI provides a fake HTTP server for the permissions API.