Class: AuthzIoLocalService
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/authz-io-local.service.ts:30
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
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/authz-io-local.service.ts:35
Parameters
Parameter | Type |
---|---|
_resourceManagerService | IResourceManagerService |
_userManagerService | UserManagerService |
Returns
Methods
allowed()
allowed(_config): Promise<ActionInfo[]>
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/authz-io-local.service.ts:89
Parameters
Parameter | Type |
---|---|
_config | AllowedRequest |
Returns
Promise
<ActionInfo
[]>
Implementation of
batchAllowed()
batchAllowed(_config): Promise<ObjectActionInfo[]>
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/authz-io-local.service.ts:95
Parameters
Parameter | Type |
---|---|
_config | AllowedRequest [] |
Returns
Promise
<ObjectActionInfo
[]>
Implementation of
create()
create(config): Promise<string>
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/authz-io-local.service.ts:85
Parameters
Parameter | Type |
---|---|
config | CreateRequest |
Returns
Promise
<string
>
Implementation of
createCollaborator()
createCollaborator(): Promise<void>
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/authz-io-local.service.ts:212
Returns
Promise
<void
>
Implementation of
IAuthzIoService
.createCollaborator
deleteCollaborator()
deleteCollaborator(): Promise<void>
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/authz-io-local.service.ts:193
Returns
Promise
<void
>
Implementation of
IAuthzIoService
.deleteCollaborator
list()
list(config): Promise<PermissionPoint[]>
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/authz-io-local.service.ts:100
Parameters
Parameter | Type |
---|---|
config | ListPermPointRequest |
Returns
Promise
<PermissionPoint
[]>
Implementation of
listCollaborators()
listCollaborators(): Promise<Collaborator[]>
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/authz-io-local.service.ts:182
Returns
Promise
<Collaborator
[]>
Implementation of
IAuthzIoService
.listCollaborators
listRoles()
listRoles(): Promise<{
actions: UnitAction[];
roles: UnitRoleKV[];
}>
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/authz-io-local.service.ts:186
Returns
Promise
<{
actions
: UnitAction
[];
roles
: UnitRoleKV
[];
}>
Implementation of
putCollaborators()
putCollaborators(config): Promise<void>
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/authz-io-local.service.ts:216
Parameters
Parameter | Type |
---|---|
config | PutCollaboratorsRequest |
Returns
Promise
<void
>
Implementation of
IAuthzIoService
.putCollaborators
update()
update(config): Promise<void>
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/authz-io-local.service.ts:197
Parameters
Parameter | Type |
---|---|
config | UpdatePermPointRequest |
Returns
Promise
<void
>
Implementation of
updateCollaborator()
updateCollaborator(): Promise<void>
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/authz-io-local.service.ts:208
Returns
Promise
<void
>