<%-- The contents of this file are subject to the license and copyright detailed in the LICENSE and NOTICE files at the root of the source tree and available online at http://www.dspace.org/license/ --%> <%-- - set up a group with particular permissions - - attributes: - collection - collection we're creating - permission - one of the constants starting PERM_ at the top of - org.dspace.app.webui.servlet.admin.CollectionWizardServlet --%> <%@ page contentType="text/html;charset=UTF-8" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> <%@ taglib uri="http://www.dspace.org/dspace-tags.tld" prefix="dspace" %> <%@ page import="javax.servlet.jsp.jstl.fmt.LocaleSupport" %> <%@ page import="org.dspace.app.webui.servlet.admin.CollectionWizardServlet" %> <%@ page import="org.dspace.content.Collection" %> <% Collection collection = (Collection) request.getAttribute("collection"); int perm = ((Integer) request.getAttribute("permission")).intValue(); boolean mitGroup = (request.getAttribute("mitgroup") != null); %> <% switch (perm) { case CollectionWizardServlet.PERM_READ: %> <%--

Authorization to Read

--%>

">

<%--

Who has (by default) permission to read new items submitted to this collection? --%>

<% break; case CollectionWizardServlet.PERM_SUBMIT: %> <%--

Authorization to Submit

--%>

">

<%--

Who has permission to submit new items to this collection? --%>

<% break; case CollectionWizardServlet.PERM_WF1: %> <%--

Submission Workflow Accept/Reject Step

--%>

">

<%--

Who is responsible for performing the accept/reject step? They will be able to accept or reject incoming submissions. They will not be able to edit the submission's metadata, however. Only one of the group need perform the step for each submission. --%>

<% break; case CollectionWizardServlet.PERM_WF2: %> <%--

Submission Workflow Accept/Reject/Edit Metadata Step

--%>

">

<%--

Who is responsible for performing the accept/reject/edit metadata step? They will be able to edit the metadata of incoming submissions, and then accept or reject them. Only one of the group need perform the step for each submission. --%>

<% break; case CollectionWizardServlet.PERM_WF3: %> <%--

Submission Workflow Edit Metadata Step

--%>

">

<%--

Who is responsible for performing the edit metadata step? They will be able to edit the metadata of incoming submissions, but will not be able to reject them.

--%>

<% break; case CollectionWizardServlet.PERM_ADMIN: %> <%--

Delegated Collection Administrators

--%>

">

<%--

Who are the collection administrators for this collection? They will be able to decide who can submit items to the collection, withdraw items, edit item metadata (after submission), and add (map) existing items from other collections to this collection (subject to authorization from that collection).

--%>

<% break; } %> <%--

You can change this later using the relevant sections of the DSpace admin UI.

--%>

<% // MIT group checkbox - only if there's an MIT group and on the READ and SUBMIT pages // (Sorry, everyone who isn't running DSpace at MIT, I know this isn't very elegant!) if (mitGroup && (perm == CollectionWizardServlet.PERM_READ || perm == CollectionWizardServlet.PERM_SUBMIT)) { %> <%--  All MIT users --%>   <%-- OR --%> <% } %>

<%-- Hidden fields needed for servlet to know which collection and page to deal with --%> " /> <%-- --%>
" onclick="javascript:finishEPerson();finishGroups();"/>