@ProxyEvent
 @Override
 public void onAdministrationPermissionRequest(RequestAdministrationPermissionEvent event) {
   ResourceAuthorizationRequestBuilderFactory.newBuilder()
       .forResource(UriBuilders.PROFILES.create().build()) //
       .authorize(
           new CompositeAuthorizer(
               event.getHasAuthorization(), new ListProfilesAuthorization())) //
       .get()
       .send();
 }
 private void refreshProfiles() {
   // Fetch all profiles
   ResourceRequestBuilderFactory.<JsArray<SubjectProfileDto>>newBuilder() //
       .forResource(UriBuilders.PROFILES.create().build()) //
       .withCallback(
           new ResourceCallback<JsArray<SubjectProfileDto>>() {
             @Override
             public void onResource(Response response, JsArray<SubjectProfileDto> resource) {
               getView().renderProfiles(JsArrays.toList(resource));
             }
           }) //
       .get()
       .send();
 }