code: public Map<String, Map<String, List<String>>> grantResourcePermission(String subjectid, String resourcePath,
  			EnumSet<App.AllowedMethods> permission) {
  		return grantResourcePermission(subjectid, resourcePath, permission, false);
  	}
docs: Grants a permission to a subject that allows them to call the specified HTTP methods on a given resource.
  @param subjectid subject id (user id)
  @param resourcePath resource path or object type
  @param permission a set of HTTP methods
  @return a map of the permissions for this subject id