public List<PermissionConfig> getPermissions() {
    return permissions == null ? Collections.emptyList() : permissions;
  }
Get the list of custom permissions defined for the view.

@return the list of custom permissions
ambari-server/src/main/java/org/apache/ambari/server/view/configuration/ViewConfig.java