blob: 8079b1c2439aa2bb86a0d0670b1641c1977ce279 [file] [log] [blame]
/*
* Copyright (C) 2011 The University of Manchester
*
* See the file "LICENSE" for license terms.
*/
package org.taverna.server.master.common;
/**
* The roles defined in this webapp.
*
* @author Donal Fellows
*/
public interface Roles {
/** The role of a normal user. */
static final String USER = "ROLE_tavernauser";
/**
* The role of an administrator. Administrators <i>should</i> have the
* normal user role as well.
*/
static final String ADMIN = "ROLE_tavernasuperuser";
/**
* The role of a workflow accessing itself. Do not give users this role.
*/
static final String SELF = "ROLE_tavernaworkflow";
}