Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-99

Non-admin user and admin menu options (1.5.1 XMUI only) - ID: 2353606

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.5.2
    • Component/s: DSpace API, XMLUI
    • Labels:
      None
    • Attachments:
      1
    • Comments:
      1

      Description

      From: https://sourceforge.net/tracker/index.php?func=detail&aid=2353606&group_id=19984&atid=119984

      I had a problem with non admin users having access to admin and context
      menu options (when submitting a new item) in DSpace 1.5.1 XML. Although
      access to these page is prevented, we don't want our users seeing the
      options.

      I had a look around and noticed that org.dspace.browse.BrowseConsumer
      was being fired when a new item was created. In its constructor
      context.setIgnoreAuthorization(true) was being called but there was no
      corresponding context.setIgnoreAuthorization(false).

      In the meantime I have added a call to
      context.setIgnoreAuthorization(false) at the end the indexItem method.

        Attachments

          Activity

            People

            • Assignee:
              bollini Andrea Bollini (4Science)
              Reporter:
              stuartlewis Stuart Lewis
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: