Hello I am migrating from dspace 1.7 jspui + shib  to 3.1 xmlui with shib
and I have three questions or notes.
1.There is no more attribute default-roles in documentation. SO the
question is how to set up default role for all users.
2. For Logout  (idp as simplesamlphp) I have modified for menu
dspace-3.1-src-release/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/eperson/Navigation.java

184c184
<
account.addItemXref(contextPath+"/../Shibboleth.sso/Logout?return=
https://mydspace/dspace/logout",T_logout);
---
>             account.addItemXref(contextPath+"/logout",T_logout);
212c212
<
userMeta.addMetadata("identifier","logoutURL").addContent(contextPath+"/../Shibboleth.sso/Logout?return=
https://mydspace/dspace/logout";);
---
>
userMeta.addMetadata("identifier","logoutURL").addContent(contextPath+"/logout");

And the Mirage theme file for upper logout in right side
dspace-3.1-src-release/dspace-xmlui/target/dspace-xmlui-3.1/themes/Mirage/lib/xsl/core/page-structure.xsl
366,368c366,367
<  <!--                                       <xsl:value-of
select="/dri:document/dri:meta/dri:userMeta/
<
dri:metadata[@element='identifier' and @qualifier='logoutURL']"/>  -->
<                                   <xsl:text>
https://mydspace/Shibboleth.sso/Logout?return=https://mydspace/dspace/logout</xsl:text>
---
>                                         <xsl:value-of
select="/dri:document/dri:meta/dri:userMeta/
>
dri:metadata[@element='identifier' and @qualifier='logoutURL']"/>

Is it possible to do it without modifying Navigation.java and how?

3. Is it possible to disable caching on Mirage theme. Sometimes!!!, when I
loging out and continue navigation in through pages I get logout button
again. I cant open profile or submission, because shibboleth session is
ended, but still there is links about submissions, logout and profile, and
I can see name and surname.


Thanks for helping.
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to