2016-09-15 16:28:42 +02:00
|
|
|
package org.gcube.datacatalogue.ckanutillibrary.utils;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* A list of attributes that are saved into http session.
|
|
|
|
* @author Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it)
|
|
|
|
*/
|
|
|
|
public class SessionCatalogueAttributes {
|
|
|
|
|
|
|
|
// CKAN KEYS (PLEASE NOTE THAT MOST OF THESE INFO ARE SAVED INTO SESSION PER SCOPE)
|
2016-11-21 09:50:43 +01:00
|
|
|
public static final String CKAN_ORGS_USER_KEY = "ckanOrgs"; // organizations to whom he belongs (shown into the portlet)
|
2016-09-15 16:28:42 +02:00
|
|
|
public static final String CKAN_HIGHEST_ROLE = "ckanHighestRole"; // editor, member, admin
|
|
|
|
public static final String CKAN_ORGANIZATIONS_PUBLISH_KEY = "ckanOrganizationsPublish"; // here he can publish (admin/editor role)
|
|
|
|
public static final String CKAN_LICENSES_KEY = "ckanLicenses"; // licenses
|
|
|
|
public static final String CKAN_PROFILES_KEY = "ckanProfiles"; // product profiles
|
2016-11-17 14:29:22 +01:00
|
|
|
public static final String CKAN_GROUPS_MEMBER = "ckanGroupsMember";
|
2016-11-21 09:50:43 +01:00
|
|
|
public static final String CKAN_GROUPS_USER_KEY = "ckanGroups"; // to show the list of groups in the portlet
|
2016-09-15 16:28:42 +02:00
|
|
|
}
|