Skip to content

Commit 41f0a3a

Browse files
committed
IGNITE-26966 Update comments
1 parent d5d1704 commit 41f0a3a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +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.
57+
// This task does nothing but delegate a call to the Ignite Rolling Upgrade processor, which performs user
58+
// permissions checks on its own. Therefore, it is safe to execute task without any additional permissions check.
5959
return NO_PERMISSIONS;
6060
}
6161

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +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.
55+
// This task does nothing but delegate a call to the Ignite Rolling Upgrade processor, which performs user
56+
// permissions checks on its own. Therefore, it is safe to execute task without any additional permissions check.
5757
return NO_PERMISSIONS;
5858
}
5959

0 commit comments

Comments
 (0)