@univerjs/core v0.5.0-beta.1 • Docs
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
Parameter | Type |
---|---|
_resourceManagerService | IResourceManagerService |
_userManagerService | UserManagerService |
Returns
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
Parameter | Type |
---|---|
_config | AllowedRequest |
Returns
Promise
<ActionInfo
[]>
Implementation of
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
Parameter | Type |
---|---|
_config | AllowedRequest [] |
Returns
Promise
<ObjectActionInfo
[]>
Implementation of
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
Parameter | Type |
---|---|
config | CreateRequest |
Returns
Promise
<string
>
Implementation of
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
Parameter | Type |
---|---|
config | ListPermPointRequest |
Returns
Promise
<PermissionPoint
[]>
Implementation of
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
[];
}>
Name | Type | Defined in |
---|---|---|
actions | UnitAction [] | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/authz-io-local.service.ts:186 |
roles | UnitRoleKV [] | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/authz-io/authz-io-local.service.ts:186 |
Implementation of
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
Parameter | Type |
---|---|
config | PutCollaboratorsRequest |
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
Parameter | Type |
---|---|
config | UpdatePermPointRequest |
Returns
Promise
<void
>
Implementation of
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