Allow any admin role on GET profile call (#15967)
This commit is contained in:
parent
1ed81fa377
commit
5ced20e1ee
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ public class UserProfileResource {
|
||||||
@GET
|
@GET
|
||||||
@Produces(MediaType.APPLICATION_JSON)
|
@Produces(MediaType.APPLICATION_JSON)
|
||||||
public String getConfiguration() {
|
public String getConfiguration() {
|
||||||
auth.realm().requireViewRealm();
|
auth.requireAnyAdminRole();
|
||||||
return session.getProvider(UserProfileProvider.class).getConfiguration();
|
return session.getProvider(UserProfileProvider.class).getConfiguration();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue