Skip to content

Commit 2a0ed95

Browse files
committed
IGNITE-26966 Add comments
1 parent 58eb46a commit 2a0ed95

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

modules/core/src/main/java/org/apache/ignite/internal/management/rollingupgrade/RollingUpgradeDisableTask.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ protected RollingUpgradeDisableJob(NoArg arg, boolean debug) {
5454

5555
/** {@inheritDoc} */
5656
@Override public SecurityPermissionSet requiredPermissions() {
57+
// This task does nothing but delegates the call to the Ignite processor.
58+
// Therefore, it is safe to execute task without any additional permissions check.
5759
return NO_PERMISSIONS;
5860
}
5961

modules/core/src/main/java/org/apache/ignite/internal/management/rollingupgrade/RollingUpgradeEnableTask.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ protected RollingUpgradeEnableJob(RollingUpgradeEnableCommandArg arg, boolean de
5252

5353
/** {@inheritDoc} */
5454
@Override public SecurityPermissionSet requiredPermissions() {
55+
// This task does nothing but delegates the call to the Ignite processor.
56+
// Therefore, it is safe to execute task without any additional permissions check.
5557
return NO_PERMISSIONS;
5658
}
5759

0 commit comments

Comments
 (0)