From 07a7cb9621bd545f1d4b6b94d68c9f5002ea7223 Mon Sep 17 00:00:00 2001 From: Otso Nuortimo Date: Fri, 13 Feb 2026 10:48:36 +0900 Subject: [PATCH] Add USE_INTROSPECTION access right and update USE_SERVICE --- src/main/java/com/authlete/common/api/AccessRight.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/authlete/common/api/AccessRight.java b/src/main/java/com/authlete/common/api/AccessRight.java index 589738723..59a595ed7 100644 --- a/src/main/java/com/authlete/common/api/AccessRight.java +++ b/src/main/java/com/authlete/common/api/AccessRight.java @@ -49,8 +49,10 @@ public enum AccessRight MODIFY_CLIENT(true, true, VIEW_CLIENT), /** can view the details of this service */ VIEW_SERVICE(false, true, VIEW_CLIENT), + /** can use the introspection endpoint */ + USE_INTROSPECTION(false, true), /** can use the non-destructive service API calls (auth endpoint, token endpoint, etc.) */ - USE_SERVICE(false, true, VIEW_SERVICE, VIEW_CLIENT), + USE_SERVICE(false, true, USE_INTROSPECTION, VIEW_SERVICE, VIEW_CLIENT), /** can create new clients on this service */ CREATE_CLIENT(false, true, USE_SERVICE, VIEW_SERVICE, MODIFY_CLIENT, VIEW_CLIENT), /** can modify this service */