Skip to content

Commit 07a7cb9

Browse files
committed
Add USE_INTROSPECTION access right and update USE_SERVICE
1 parent c5d9b10 commit 07a7cb9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/main/java/com/authlete/common/api/AccessRight.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,10 @@ public enum AccessRight
4949
MODIFY_CLIENT(true, true, VIEW_CLIENT),
5050
/** can view the details of this service */
5151
VIEW_SERVICE(false, true, VIEW_CLIENT),
52+
/** can use the introspection endpoint */
53+
USE_INTROSPECTION(false, true),
5254
/** can use the non-destructive service API calls (auth endpoint, token endpoint, etc.) */
53-
USE_SERVICE(false, true, VIEW_SERVICE, VIEW_CLIENT),
55+
USE_SERVICE(false, true, USE_INTROSPECTION, VIEW_SERVICE, VIEW_CLIENT),
5456
/** can create new clients on this service */
5557
CREATE_CLIENT(false, true, USE_SERVICE, VIEW_SERVICE, MODIFY_CLIENT, VIEW_CLIENT),
5658
/** can modify this service */

0 commit comments

Comments
 (0)