@univerjscoreclassesAuthziolocalservice

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


Class: AuthzIoLocalService

Do not use the mock implementation in a production environment as it is a minimal version.

Implements

Constructors

new AuthzIoLocalService()

new AuthzIoLocalService(_resourceManagerService, _userManagerService): AuthzIoLocalService

Parameters

ParameterType
_resourceManagerServiceIResourceManagerService
_userManagerServiceUserManagerService

Returns

AuthzIoLocalService

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/authz-io-local.service.ts:35

Methods

allowed()

allowed(_config): Promise<ActionInfo[]>

Parameters

ParameterType
_configAllowedRequest

Returns

Promise<ActionInfo[]>

Implementation of

IAuthzIoService.allowed

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/authz-io-local.service.ts:89


batchAllowed()

batchAllowed(_config): Promise<ObjectActionInfo[]>

Parameters

ParameterType
_configAllowedRequest[]

Returns

Promise<ObjectActionInfo[]>

Implementation of

IAuthzIoService.batchAllowed

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/authz-io-local.service.ts:95


create()

create(config): Promise<string>

Parameters

ParameterType
configCreateRequest

Returns

Promise<string>

Implementation of

IAuthzIoService.create

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/authz-io-local.service.ts:85


createCollaborator()

createCollaborator(): Promise<void>

Returns

Promise<void>

Implementation of

IAuthzIoService.createCollaborator

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/authz-io-local.service.ts:212


deleteCollaborator()

deleteCollaborator(): Promise<void>

Returns

Promise<void>

Implementation of

IAuthzIoService.deleteCollaborator

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/authz-io-local.service.ts:193


list()

list(config): Promise<PermissionPoint[]>

Parameters

ParameterType
configListPermPointRequest

Returns

Promise<PermissionPoint[]>

Implementation of

IAuthzIoService.list

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/authz-io-local.service.ts:100


listCollaborators()

listCollaborators(): Promise<Collaborator[]>

Returns

Promise<Collaborator[]>

Implementation of

IAuthzIoService.listCollaborators

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/authz-io-local.service.ts:182


listRoles()

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

Returns

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

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

Implementation of

IAuthzIoService.listRoles

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/authz-io-local.service.ts:186


putCollaborators()

putCollaborators(config): Promise<void>

Parameters

ParameterType
configPutCollaboratorsRequest

Returns

Promise<void>

Implementation of

IAuthzIoService.putCollaborators

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/authz-io-local.service.ts:216


update()

update(config): Promise<void>

Parameters

ParameterType
configUpdatePermPointRequest

Returns

Promise<void>

Implementation of

IAuthzIoService.update

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/authz-io-local.service.ts:197


updateCollaborator()

updateCollaborator(): Promise<void>

Returns

Promise<void>

Implementation of

IAuthzIoService.updateCollaborator

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/authz-io-local.service.ts:208