code: public void checkPermission(final String permission,
              UserIdentityContext userIdentityContext) {
          //checkAuthenticatedAccount(); // ok there is a valid authenticated account
          if ( checkPermission(permission, userIdentityContext.getEffectiveAccountRoles()) != AuthOutcome.OK )
              throw new InsufficientPermission();
      }
docs: Grants access by permission. If the effective account has a role that resolves
  to the specified permission (accoording to mappings of restcomm.xml) access is granted.
  Administrator is granted access regardless of permissions.
  
  @param permission - e.g. 'RestComm:Create:Accounts'
  @param userIdentityContext