diff --git a/openid-connect-server-webapp/src/main/webapp/resources/js/locale/en/messages.json b/openid-connect-server-webapp/src/main/webapp/resources/js/locale/en/messages.json index af7d3c011..68a38dd18 100644 --- a/openid-connect-server-webapp/src/main/webapp/resources/js/locale/en/messages.json +++ b/openid-connect-server-webapp/src/main/webapp/resources/js/locale/en/messages.json @@ -350,6 +350,9 @@ "no-resource-sets": "There are no resource sets registered. Introduce a protected to this authorization server to let it register some.", "no-required-claims": "There are no required claims for this resource set: This resource set is inaccessible by others.", "share-email": "Share with email address", + "shared-with": "Shared with:", + "shared-nobody": "NOBODY", + "shared-nobody-tooltip": "This resource is not accessible by anyone else, edit the policies and share it with someone.", "issuers": "Issuers", "claim": "Claim", "value": "Value" diff --git a/openid-connect-server-webapp/src/main/webapp/resources/template/policy.html b/openid-connect-server-webapp/src/main/webapp/resources/template/policy.html index b4295ad1b..34416d526 100644 --- a/openid-connect-server-webapp/src/main/webapp/resources/template/policy.html +++ b/openid-connect-server-webapp/src/main/webapp/resources/template/policy.html @@ -47,6 +47,17 @@ <%- client.clientName != null ? client.clientName : ( client.clientId.substr(0,8) + '...' ) %>
+
Shared with: + <% if (!_.isEmpty(rs.claimsRequired)) { + _.each(rs.claimsRequired, function(claim) { %> + <%- claim.value %> + <% }); + } else { %> + NOBODY + <% } %> + + +