@univerjssheetsindexfunctionsGetdefaultrangepermission

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


Function: getDefaultRangePermission()

function getDefaultRangePermission(
   unitId, 
   subUnitId, 
permissionId): Record<UnitAction, boolean>

Parameters

ParameterTypeDefault value
unitIdstring'unitId'
subUnitIdstring'subUnitId'
permissionIdstring'permissionId'

Returns

Record<UnitAction, boolean>

Defined in

submodules/univer/packages/sheets/src/services/permission/range-permission/util.ts:29