[ 
https://jira.duraspace.org/browse/DS-658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=24887#comment-24887
 ] 

Samuel Ottenhoff commented on DS-658:
-------------------------------------

I don't seem to have edit privs on this JIRA... but my revision of this JIRA 
would be to move this out of the XMLUI component and just to make this a 
request for an additional method: item.canView().

If there is an item.canEdit(), I believe there should also be an item.canView() 
method.
                
> Provide a "nonAnon" attribute to XMLUI theme
> --------------------------------------------
>
>                 Key: DS-658
>                 URL: https://jira.duraspace.org/browse/DS-658
>             Project: DSpace
>          Issue Type: New Feature
>          Components: XMLUI
>    Affects Versions: 1.6.2
>            Reporter: S Ottenhoff
>            Priority: Major
>         Attachments: DS-658.patch
>
>
> Use case: institution has decided that all information about student theses 
> must be hidden from anonymous users. This includes author name, title, etc.  
> This is fairly easy to implement in the XMLUI. The XMLUI theme needs one 
> additional variable called "nonAnon" (boolean on item.canView()).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.duraspace.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to