Skip to content

Commit

Permalink
feat(permission): initial permission is modified to false for the set… (
Browse files Browse the repository at this point in the history
  • Loading branch information
Gggpound authored Jul 17, 2024
1 parent dc04d7a commit c2f3056
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ export class RangeProtectionService extends Disposable {
list.forEach((rule) => {
getAllRangePermissionPoint().forEach((Factor) => {
const instance = new Factor(unitId, subUnitId, rule.permissionId);
instance.value = false;
this._permissionService.addPermissionPoint(instance);
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ export class WorksheetPermissionService extends RxDisposable {
Object.keys(resources).forEach((subUnitId) => {
getAllWorksheetPermissionPoint().forEach((F) => {
const instance = new F(unitId, subUnitId);
instance.value = false;
this._permissionService.addPermissionPoint(instance);
});
});
Expand Down

0 comments on commit c2f3056

Please sign in to comment.