You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Checks if the current user has the minimum required permission to view this
363
-
* administrative monitor.
337
+
/**
338
+
* Checks if the current user has the minimum required permission to view this administrative monitor.
364
339
* <p>
365
-
* Subclasses may override this method and {@link #checkRequiredPermission}
366
-
* instead of {@link #getRequiredPermission()} to perform more complex
367
-
* permission checks,
368
-
* for example, checking either {@link Jenkins#MANAGE} or
369
-
* {@link Jenkins#SYSTEM_READ}.
340
+
* Subclasses may override this method and {@link #hasRequiredPermission()} instead of {@link #getRequiredPermission()} to perform more complex permission checks,
341
+
* for example, checking either {@link Jenkins#MANAGE} or {@link Jenkins#SYSTEM_READ}.
370
342
* </p>
371
343
*
372
344
* @see #getRequiredPermission()
@@ -377,12 +349,11 @@ public boolean hasRequiredPermission() {
* Checks if the current user has the minimum required permission to view any
382
-
* administrative monitor.
383
-
*
384
-
* @return true if the current user has the minimum required permission to view
385
-
* any administrative monitor.
352
+
/**
353
+
* Checks if the current user has the minimum required permission to view this administrative monitor.
354
+
* <p>
355
+
* Subclasses may override this method and {@link #checkRequiredPermission} instead of {@link #getRequiredPermission()} to perform more complex permission checks,
356
+
* for example, checking either {@link Jenkins#MANAGE} or {@link Jenkins#SYSTEM_READ}.
386
357
*
387
358
* @since 2.468
388
359
*/
@@ -391,8 +362,7 @@ public static boolean hasPermissionToDisplay() {
391
362
}
392
363
393
364
/**
394
-
* Ensure that URLs in this administrative monitor are only accessible to users
395
-
* with {@link #getRequiredPermission()}.
365
+
* Ensure that URLs in this administrative monitor are only accessible to users with {@link #getRequiredPermission()}.
0 commit comments