@univerjs/core v0.4.2 • Docs
Interface: IAuthzIoService
Methods
allowed()
allowed(config, context?): Promise<ActionInfo[]>
Parameters
Parameter | Type |
---|---|
config | AllowedRequest |
context ? | ILogContext |
Returns
Promise
<ActionInfo
[]>
Defined in
submodules/univer/packages/core/src/services/authz-io/type.ts:25 (opens in a new tab)
batchAllowed()
batchAllowed(config, context?): Promise<ObjectActionInfo[]>
Parameters
Parameter | Type |
---|---|
config | AllowedRequest [] |
context ? | ILogContext |
Returns
Promise
<ObjectActionInfo
[]>
Defined in
submodules/univer/packages/core/src/services/authz-io/type.ts:26 (opens in a new tab)
create()
create(config, context?): Promise<string>
Parameters
Parameter | Type |
---|---|
config | CreateRequest |
context ? | ILogContext |
Returns
Promise
<string
>
Defined in
submodules/univer/packages/core/src/services/authz-io/type.ts:24 (opens in a new tab)
createCollaborator()
createCollaborator(config, context?): Promise<void>
Parameters
Parameter | Type |
---|---|
config | CreateCollaboratorRequest |
context ? | ILogContext |
Returns
Promise
<void
>
Defined in
submodules/univer/packages/core/src/services/authz-io/type.ts:33 (opens in a new tab)
deleteCollaborator()
deleteCollaborator(config, context?): Promise<void>
Parameters
Parameter | Type |
---|---|
config | DeleteCollaboratorRequest |
context ? | ILogContext |
Returns
Promise
<void
>
Defined in
submodules/univer/packages/core/src/services/authz-io/type.ts:32 (opens in a new tab)
list()
list(config, context?): Promise<PermissionPoint[]>
Parameters
Parameter | Type |
---|---|
config | ListPermPointRequest |
context ? | ILogContext |
Returns
Promise
<PermissionPoint
[]>
Defined in
submodules/univer/packages/core/src/services/authz-io/type.ts:27 (opens in a new tab)
listCollaborators()
listCollaborators(config, context?): Promise<Collaborator[]>
Parameters
Parameter | Type |
---|---|
config | ListCollaboratorRequest |
context ? | ILogContext |
Returns
Promise
<Collaborator
[]>
Defined in
submodules/univer/packages/core/src/services/authz-io/type.ts:30 (opens in a new tab)
listRoles()
listRoles(config, context?): Promise<{
actions: UnitAction[];
roles: UnitRoleKV[];
}>
Parameters
Parameter | Type |
---|---|
config | ListRolesRequest |
context ? | ILogContext |
Returns
Promise
<{
actions
: UnitAction
[];
roles
: UnitRoleKV
[];
}>
Defined in
submodules/univer/packages/core/src/services/authz-io/type.ts:28 (opens in a new tab)
putCollaborators()
putCollaborators(config, context?): Promise<void>
Parameters
Parameter | Type |
---|---|
config | PutCollaboratorsRequest |
context ? | ILogContext |
Returns
Promise
<void
>
Defined in
submodules/univer/packages/core/src/services/authz-io/type.ts:34 (opens in a new tab)
update()
update(config, context?): Promise<void>
Parameters
Parameter | Type |
---|---|
config | UpdatePermPointRequest |
context ? | ILogContext |
Returns
Promise
<void
>
Defined in
submodules/univer/packages/core/src/services/authz-io/type.ts:29 (opens in a new tab)
updateCollaborator()
updateCollaborator(config, context?): Promise<void>
Parameters
Parameter | Type |
---|---|
config | UpdateCollaboratorRequest |
context ? | ILogContext |
Returns
Promise
<void
>
Defined in
submodules/univer/packages/core/src/services/authz-io/type.ts:31 (opens in a new tab)