@univerjscoreinterfacesIauthzioservice

@univerjs/core v0.5.4


Interface: IAuthzIoService

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

Methods

allowed()

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

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

Parameters

ParameterType
configAllowedRequest
context?ILogContext

Returns

Promise<ActionInfo[]>


batchAllowed()

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

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

Parameters

ParameterType
configAllowedRequest[]
context?ILogContext

Returns

Promise<ObjectActionInfo[]>


create()

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

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

Parameters

ParameterType
configCreateRequest
context?ILogContext

Returns

Promise<string>


createCollaborator()

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

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

Parameters

ParameterType
configCreateCollaboratorRequest
context?ILogContext

Returns

Promise<void>


deleteCollaborator()

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

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

Parameters

ParameterType
configDeleteCollaboratorRequest
context?ILogContext

Returns

Promise<void>


list()

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

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

Parameters

ParameterType
configListPermPointRequest
context?ILogContext

Returns

Promise<PermissionPoint[]>


listCollaborators()

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

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

Parameters

ParameterType
configListCollaboratorRequest
context?ILogContext

Returns

Promise<Collaborator[]>


listRoles()

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

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

Parameters

ParameterType
configListRolesRequest
context?ILogContext

Returns

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


putCollaborators()

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

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

Parameters

ParameterType
configPutCollaboratorsRequest
context?ILogContext

Returns

Promise<void>


update()

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

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

Parameters

ParameterType
configUpdatePermPointRequest
context?ILogContext

Returns

Promise<void>


updateCollaborator()

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

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

Parameters

ParameterType
configUpdateCollaboratorRequest
context?ILogContext

Returns

Promise<void>