Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. First stop your Fedora instance by running:$FEDORA_HOME/tomcat/bin/shutdown.sh
  2. Remove the deny-purge policies:

    Code Block
    languagebash
    titleCommand Line to remove "deny-purge" policies
    $ rm -v /usr/local/fedora/data/fedora-xacml-policies/repository-policies/default/deny-purge-*


  3. Remove the anonymous-user policiesNavigate to the Fedora "repository-policies" directory:

    Code Block
    languagebash
    titleCommand Line to remove "deny-purge" create islandora specific policies
    $ rmcd -v /usr/local/fedora/data/fedora-xacml-policies/repository-policies/islandora/permit-apim-to-anonymous-user.xml
    $ rm -v /usr/local/fedora/data/fedora-xacml-policies/repository-policies/islandora/permit-upload-to-anonymous-user.xml
    Navigate to the Fedora "repository-policies" directory


  4. Download / Clone the Islandora specific XACML policies from the Islandora GitHub XACML Policies repo

    Code Block
    languagebash
    $ git clone https://github.com/Islandora/islandora-xacml-policies.git islandora


  5. Remove the anonymous-user policies:

    Code Block
    languagebash
    titleCommand Line to create islandora specific remove "deny-purge" policies
    $ rm cd-v /usr/local/fedora/data/fedora-xacml-policies/repository-policies/

    Download / Clone the Islandora specific XACML policies from the Islandora GitHub XACML Policies repo

    Code Block
    languagebash
    $ git clone https://github.com/Islandora/islandora-xacml-policies.git islandoraislandora/permit-apim-to-anonymous-user.xml
    $ rm -v /usr/local/fedora/data/fedora-xacml-policies/repository-policies/islandora/permit-upload-to-anonymous-user.xml


The Islandora XACML policies should now be located in "/usr/local/fedora/data/fedora-xacml-policies/repository-policies/islandora". There should be remain only these 4 policies:

...

 

Warning

NOTE: If you can not access the above link for ingestion then something went wrong with your installation. Please retrace your steps carefully, and be sure not to miss anything.

 

Create a milestone 1 snapshot backup:

...