Skip to content

Commit

Permalink
Merge branch 'feature/shibui-2393' of bitbucket.org:unicon/shib-idp-u…
Browse files Browse the repository at this point in the history
…i into feature/shibui-2393
  • Loading branch information
rmathis committed Nov 29, 2022
2 parents a8aa766 + fab13ca commit 9624b3a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ public Collection getPersistentEntities(Authentication ignored, ShibUiPermissibl
case dynamicRegistrationInfo:
switch (permissionType) {
case approve:
if (!hasPermission(ignored, null, PermissionType.approve)) {
throw new ForbiddenException("User has no access rights to get a list of : " + shibUiType);
}
return getAllDynamicRegistrationInfoObjectsNeedingApprovalBasedOnUserAccess();
case enable:
if (!hasPermission(ignored, null, PermissionType.enable)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import edu.internet2.tier.shibboleth.admin.ui.exception.ObjectIdExistsException;
import edu.internet2.tier.shibboleth.admin.ui.exception.PersistentEntityNotFound;
import edu.internet2.tier.shibboleth.admin.ui.exception.UnsupportedShibUiOperationException;
import edu.internet2.tier.shibboleth.admin.ui.repository.EntityDescriptorProjection;
import edu.internet2.tier.shibboleth.admin.ui.security.model.Approvers;
import edu.internet2.tier.shibboleth.admin.ui.security.model.Group;
import edu.internet2.tier.shibboleth.admin.ui.security.model.Owner;
Expand Down
2 changes: 1 addition & 1 deletion backend/src/main/resources/i18n/messages.properties
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,7 @@ tooltip.dynamic-registration-name=Name used to identify the registration on the
label.dynamic-registration-redirectUris=Redirect Uris
tooltip.dynamic-registration-redirectUris=Array of Redirection URI values used by the Client. One of these registered Redirection URI values MUST exactly match the redirect_uri parameter value used in each Authorization Request.
label.dynamic-registration-responseTypes=Response Types
tooltip.dynamic-registration-responseTypes=JSON array containing a list of the OAuth 2.0 response_type values that the Client is declaring that it will restrict itself to using.
tooltip.dynamic-registration-responseTypes=JSON array containing a list of the OAuth 2.0 response_type values that the Client is declaring that it will restrict itself to using. If not present, Shibboleth will use a default of "code"
label.dynamic-registration-grantTypes=Grant Types
tooltip.dynamic-registration-grantTypes=JSON array containing a list of the OAuth 2.0 Grant Types that the Client is declaring that it will restrict itself to using.
label.dynamic-registration-applicationType=Application Type
Expand Down

0 comments on commit 9624b3a

Please sign in to comment.