/* * Copyright (C) 2010-2012 Stichting Akvo (Akvo Foundation) * * This file is part of Akvo FLOW. * * Akvo FLOW is free software: you can redistribute it and modify it under the terms of * the GNU Affero General Public License (AGPL) as published by the Free Software Foundation, * either version 3 of the License or any later version. * * Akvo FLOW is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU Affero General Public License included below for more details. * * The full license text can also be seen at <http://www.gnu.org/licenses/agpl.html>. */ package com.gallatinsystems.user.app.gwt.client; /** * constants to be used as permissions * * @author Christopher Fagiani TODO: relocate this */ public class PermissionConstants { public static final String EDIT_SURVEY = "EDIT SURVEY"; public static final String EDIT_AP = "EDIT ACCESS POINT"; public static final String EDIT_USER = "EDIT USERS"; public static final String EDIT_EDITORIAL = "EDIT EDITORIAL CONTENT"; public static final String IMPORT_SURVEY_DATA = "IMPORT SURVEY DATA"; public static final String IMPORT_AP_DATA = "IMPORT ACCESS POINT DATA"; public static final String UPLOAD_SURVEY_DATA = "UPLOAD SURVEY DATA"; public static final String PUBLISH_SURVEY = "PUBLISH SURVEY"; public static final String RAW_DATA_EDIT = "EDIT RAW DATA"; public static final String RUN_REPORTS = "RUN REPORTS"; public static final String IMPORT_DATA = "IMPORT DATA"; public static final String EDIT_TOKENS = "EDIT TOKENS"; public static final String VIEW_MESSAGES = "VIEW MESSAGES"; public static final String EDIT_IMMUTABLITY = "EDIT IMMUTABILITY"; public static final String ADMIN = "ADMIN"; public static final String SUPER_ADMIN = "SUPER_ADMIN"; }