@univerjs/sheets-ui v0.2.11 • Docs
Class: SheetPermissionInitController
Extends
Constructors
new SheetPermissionInitController()
new SheetPermissionInitController(
_univerInstanceService,
_dialogService,
_permissionService,
_authzIoService,
_rangeProtectionRuleModel,
_worksheetProtectionRuleModel,
_userManagerService,
_worksheetProtectionPointRuleModel,
_sheetInterceptorService,
_selectionProtectionRenderModel,
_undoRedoService): SheetPermissionInitController
Parameters
Parameter | Type |
---|---|
_univerInstanceService | IUniverInstanceService |
_dialogService | IDialogService |
_permissionService | IPermissionService |
_authzIoService | IAuthzIoService |
_rangeProtectionRuleModel | RangeProtectionRuleModel |
_worksheetProtectionRuleModel | WorksheetProtectionRuleModel |
_userManagerService | UserManagerService |
_worksheetProtectionPointRuleModel | WorksheetProtectionPointModel |
_sheetInterceptorService | SheetInterceptorService |
_selectionProtectionRenderModel | RangeProtectionRenderModel |
_undoRedoService | IUndoRedoService |
Returns
Overrides
Defined in
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | packages/core/src/shared/lifecycle.ts:93 (opens in a new tab) |
Methods
dispose()
dispose(): void
Returns
void
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:106 (opens in a new tab)
disposeWithMe()
protected disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:96 (opens in a new tab)
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:100 (opens in a new tab)
initWorkbookPermissionChange()
initWorkbookPermissionChange(_unitId?): void
Parameters
Parameter | Type |
---|---|
_unitId ? | string |
Returns
void
Defined in
refreshPermission()
refreshPermission(unitId, permissionId): void
Parameters
Parameter | Type |
---|---|
unitId | string |
permissionId | string |
Returns
void