Skip to main content

Scopes and roles reference

Every Biza ID scope, token claim and role that HaaS uses, in one place. Each API page lists only the scopes it needs and links here.

Biza ID issues the tokens for the HaaS APIs your backend calls, and the roles your staff hold for HaaS Manager. The names follow one pattern: biza-au:<product>:<area>:<permission>. A machine-to-machine client receives scopes through the OAuth 2.0 client_credentials grant. A person signing in through Biza ID federation receives roles from your identity provider. A token is bound to the HaaS Space it was issued for, so a scope never reaches another space.

Source: the Consent API specification (ConsentApiOAuth). See Consent API for how the API uses them.

ScopeAllowsOperations
biza-au:haas:consent:readRead endpoint metadata, and read Grants and Grant history grounded under a named User or Principal. Also covers accounts, profiles and reading notification preferences.getEndpointMeta, listUserGrants, getUserGrant, getUserGrantHistory, listPrincipalGrants, getPrincipalGrant, getPrincipalGrantHistory, listUserPrincipalAccounts, getUserPrincipalAccount, getPrincipalGrantAccountDetails, getUserGrantAccountDetails, getUserAccountNotificationPreferences, lookupUserProfiles
biza-au:haas:consent:revokeRevoke a Grant grounded under the User who created it.revokeUserGrant
biza-au:haas:consent:writeUpdate a User's own preferences, grounded under that User.updateUserAccountNotificationPreferences
biza-au:haas:secondary-user:readRead the Secondary Users on an account.listSecondaryUsers
biza-au:haas:secondary-user:writeEnable or disable a Secondary User's access to an account.updateSecondaryUser
biza-au:haas:doms:readRead Disclosure Option Management Service (DOMS) requests on an account.listUserPrincipalAccountDomsRequests, getUserPrincipalAccountDomsRequest
biza-au:haas:doms:writePropose, approve or deny a DOMS request on an account.createUserPrincipalAccountDomsRequest, handleUserPrincipalAccountDomsRequest
biza-au:haas:consent:exchangeExchange the Data Holder's own session token for a request_uri-bound act_token (RFC 8693), for the app-to-app consent-flow handoff. Held by your backend, never by the native app.exchangeToken

A scope does not limit which User or Principal you can name, because you assign those identifiers yourself.

Admin API scopes​

Source: the Admin API specification (AdminApiOAuth). Every operation on this API is ungrounded: a credential holding either scope reaches every Grant in the realm it is entitled to.

ScopeAllows
biza-au:haas:admin:readRead endpoint metadata, list every Grant in the realm, resolve a Grant identifier, and read any Grant's history.
biza-au:haas:admin:revokeRevoke any Grant in the realm by its identifier alone.

App-to-app session token claims​

These are claims, not scopes. Your app's existing session token MUST carry them as top-level claims before HaaS exchanges it through exchangeToken. See App-to-App Redirect configuration.

ClaimRequiredValue
biza-au:auth:user_idYesThe Consumer's userId, matching the one your Data Adapter uses.
biza-au:auth:principal_idNoThe principalId the Consumer is acting for, if your own UX has already resolved one.

OAuth2 Consumer Auth uses the same two claims in the ID token your identity provider issues for a dashboard login.

Data Adapter scope​

HaaS calls your Data Adapter; it does not call Biza ID for it. When your adapter uses the OAuth endpoint security profile, HaaS obtains a token from your authorisation server with the client credentials grant, requesting the scopes you configure (see OAuth configuration). The Data Adapter specification names one scope in its TokenBasedAuth scheme:

ScopeAllows
biza:haas.adapter:readRead-only Data Adapter access.

Your authorisation server decides the scope names it accepts; configure the ones it expects. See the Data Adapter security profile.

Product Reference Data (Product Manager) scopes​

When a brand's PRD comes from Product Manager, these scopes apply to the Product Manager API. The CDR-facing product endpoints that HaaS serves need no scope.

ScopeAllows
biza-au:pm:readRead access to the Product Manager API.
biza-au:pm:writeWrite access to the Product Manager API.
biza-au:pm:changeset:approveApprove or unapprove a changeset.

The same three names are the Product Manager roles in Biza ID RBAC.

HaaS Manager roles​

HaaS Manager roles are assigned to your staff in your identity provider and reach HaaS Manager through Biza ID federation. Each role has a context: STAGE for Yellow spaces and PROD for Red spaces, written as <ctx> below. The full tables, including the Entra ID display names, are in Biza ID RBAC.

RoleAllows
biza-au:haas:manager:<ctx>:readBasic read access to HaaS Manager.
biza-au:haas:manager:<ctx>:writeOperational write access, such as publishing outages.
biza-au:haas:manager:<ctx>:grant:writeUpdate and revoke Grants.
biza-au:haas:manager:<ctx>:client:writeModify client registrations.
biza-au:haas:manager:<ctx>:sui:read, :sui:writeRead or update Secondary User Instructions.
biza-au:haas:manager:<ctx>:vulnerable:read, :vulnerable:writeRead or update HaaS-managed vulnerability information.
biza-au:haas:manager:<ctx>:ato:read, :ato:writeRead or update HaaS-managed Authority To Operate information.
biza-au:haas:manager:<ctx>:nominated_reps:read, :nominated_reps:writeRead or update HaaS-managed Nominated Representatives.
biza-au:haas:manager:<ctx>:doms:read, :doms:writeRead or update DOMS information.
biza-au:haas:manager:<ctx>:notification_preferences:read, :notification_preferences:writeRead or update notification preferences.
biza-au:haas:manager:<ctx>:brand_theme:read, :brand_theme:writeRead or update branding in the Brand Theme Editor. New in Orion.01 (FDO 27Q204).

Retired: Management API scope​

The Management API was retired in Nebula.01 and is kept only for Magellan spaces. Its specification names one scope, biza-au:haas:dashboard:readwrite (access to all dashboard functions). New integrations use the Consent API scopes.