Skip to main content

global_permission_grant

Api Code Documentation / Exports / global_permission_grant

Table of contents#

Functions#

Functions#

addHttpHandler#

addHttpHandler(server, urlPrefix, service): void

Creates an http handler that handles incoming http requests for the /global.grantPermission route

Parameters#

NameTypeDescription
serverAugmentedFastifyInstancethe current fastify server instance
urlPrefixstringthe prefix of the http url
serviceServicethe service {@link Service} object used to offer an interface to the domain logic

Returns#

void

Defined in#

src/global_permission_grant.ts:116