001/*
002 *  Copyright 2016 Anyware Services
003 *
004 *  Licensed under the Apache License, Version 2.0 (the "License");
005 *  you may not use this file except in compliance with the License.
006 *  You may obtain a copy of the License at
007 *
008 *      http://www.apache.org/licenses/LICENSE-2.0
009 *
010 *  Unless required by applicable law or agreed to in writing, software
011 *  distributed under the License is distributed on an "AS IS" BASIS,
012 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 *  See the License for the specific language governing permissions and
014 *  limitations under the License.
015 */
016package org.ametys.plugins.workspaces.project;
017
018/**
019 * Project constants.
020 */
021public interface ProjectConstants
022{
023    /** Project workspace page template. */
024    public static final String PROJECT_TEMPLATE = "project";
025    
026    /** Project workspace page template for the about module. */
027    public static final String ABOUT_TEMPLATE = "project-about";
028    
029    /** Project workspace page template for the minisite module. */
030    public static final String MINISITE_TEMPLATE = "project-minisite";
031    
032    /** Calendar module service identifier */
033    public static final String CALENDAR_MODULE_SERVICE_ID = "org.ametys.plugins.workspaces.module.Calendar";
034    
035    /** Right ID to create private project in the back office */
036    public static final String RIGHT_PROJECT_CREATE_PRIVATE = "Plugins_Workspaces_Rights_Project_Create_Private";
037
038    /** Right ID to create public project with moderation in the back office */
039    public static final String RIGHT_PROJECT_CREATE_PUBLIC_MODERATED = "Plugins_Workspaces_Rights_Project_Create_Public_Moderated";
040
041    /** Right ID to create public project opened in the back office */
042    public static final String RIGHT_PROJECT_CREATE_PUBLIC_OPENED = "Plugins_Workspaces_Rights_Project_Create_Public_Opened";
043    
044    /** Right ID to edit project in the back office */
045    public static final String RIGHT_PROJECT_EDIT = "Plugins_Workspaces_Rights_Project_Edit";
046
047    /** Right ID to delete project in the back office */
048    public static final String RIGHT_PROJECT_DELETE = "Plugins_Workspaces_Rights_Project_Delete";
049    
050    /** Right ID to add a tag */
051    public static final String RIGHT_PROJECT_ADD_TAG = "Plugins_Workspaces_Rights_Project_Add_Tag";
052    
053    /** Right ID to delete a tag */
054    public static final String RIGHT_PROJECT_DELETE_TAG = "Plugins_Workspaces_Rights_Project_Delete_Tag";
055    
056    /** Right ID to manager project tags */
057    public static final String RIGHT_PROJECT_HANDLE_TAGS = "Workspace_Rights_Tags_HandleTag";
058
059    /** Right ID to manager project keywords (not modules keywords) */
060    public static final String RIGHT_PROJECT_HANDLE_PROJECTKEYWORDS = "Workspace_Rights_Keywords_HandleKeyword";
061    
062    /** Right ID to manage category */
063    public static final String RIGHTS_PROJECT_HANDLE_CATEGORY = "Workspace_Rights_Categories_HandleCategory";
064    
065    /** Project Right to add a member to a project */
066    public static final String RIGHT_PROJECT_ADD_MEMBER = "Plugins_Workspaces_Rights_Service_Module_Members_Add";
067    
068    /** Project Right to remove a member from the project */
069    public static final String RIGHT_PROJECT_REMOVE_MEMBER = "Plugins_Workspaces_Rights_Service_Module_Members_Remove";
070
071
072}