code: public Map<String, Map<String, List<String>>> getAllResourcePermissions(String... subjectids) {
  		Map<String, Map<String, List<String>>> allPermits = new LinkedHashMap<>();
  		if (subjectids == null || subjectids.length == 0) {
  			return getResourcePermissions();
  		}
  		try {
  			for (String subjectid : subjectids) {
  				if (subjectid != null) {
  					if (getResourcePermissions().containsKey(subjectid)) {
  						allPermits.put(subjectid, getResourcePermissions().get(subjectid));
  					} else {
  						allPermits.put(subjectid, new LinkedHashMap<>(0));
  					}
  					if (getResourcePermissions().containsKey(ALLOW_ALL)) {
  						allPermits.put(ALLOW_ALL, getResourcePermissions().get(ALLOW_ALL));
  					}
  				}
  			}
  		} catch (Exception ex) {
  			logger.error(null, ex);
  		}
  		return allPermits;
  	}
docs: Returns all resource permission for a list of subjects ids.
  @param subjectids subject ids (user ids)
  @return a map of all resource permissions per subject