@univerjscoreinterfacesIauthzioservice

@univerjs/core v0.5.0-beta.1Docs


Interface: IAuthzIoService

Methods

allowed()

allowed(config, context?): Promise<ActionInfo[]>

Parameters

ParameterType
configAllowedRequest
context?ILogContext

Returns

Promise<ActionInfo[]>

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/type.ts:25


batchAllowed()

batchAllowed(config, context?): Promise<ObjectActionInfo[]>

Parameters

ParameterType
configAllowedRequest[]
context?ILogContext

Returns

Promise<ObjectActionInfo[]>

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/type.ts:26


create()

create(config, context?): Promise<string>

Parameters

ParameterType
configCreateRequest
context?ILogContext

Returns

Promise<string>

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/type.ts:24


createCollaborator()

createCollaborator(config, context?): Promise<void>

Parameters

ParameterType
configCreateCollaboratorRequest
context?ILogContext

Returns

Promise<void>

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/type.ts:33


deleteCollaborator()

deleteCollaborator(config, context?): Promise<void>

Parameters

ParameterType
configDeleteCollaboratorRequest
context?ILogContext

Returns

Promise<void>

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/type.ts:32


list()

list(config, context?): Promise<PermissionPoint[]>

Parameters

ParameterType
configListPermPointRequest
context?ILogContext

Returns

Promise<PermissionPoint[]>

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/type.ts:27


listCollaborators()

listCollaborators(config, context?): Promise<Collaborator[]>

Parameters

ParameterType
configListCollaboratorRequest
context?ILogContext

Returns

Promise<Collaborator[]>

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/type.ts:30


listRoles()

listRoles(config, context?): Promise<{
  actions: UnitAction[];
  roles: UnitRoleKV[];
}>

Parameters

ParameterType
configListRolesRequest
context?ILogContext

Returns

Promise<{ actions: UnitAction[]; roles: UnitRoleKV[]; }>

NameTypeDefined in
actionsUnitAction[]packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/type.ts:28
rolesUnitRoleKV[]packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/type.ts:28

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/type.ts:28


putCollaborators()

putCollaborators(config, context?): Promise<void>

Parameters

ParameterType
configPutCollaboratorsRequest
context?ILogContext

Returns

Promise<void>

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/type.ts:34


update()

update(config, context?): Promise<void>

Parameters

ParameterType
configUpdatePermPointRequest
context?ILogContext

Returns

Promise<void>

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/type.ts:29


updateCollaborator()

updateCollaborator(config, context?): Promise<void>

Parameters

ParameterType
configUpdateCollaboratorRequest
context?ILogContext

Returns

Promise<void>

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/type.ts:31