Hi Evgeni,

This is a known bug (which I rediscovered today):

https://jira.duraspace.org/browse/DS-2479

It is a very small bug, but is still just waiting on a volunteer to fix it and contribute back the code [1]. If you (or anyone else listening in) have time to send us the fix, we'd be glad to review it and try to add it into the upcoming 6.0 release.

- Tim

[1] https://wiki.duraspace.org/display/DSPACE/Code+Contribution+Guidelines


On 6/25/2016 3:15 PM, Evgeni Dimitrov wrote:
Well, this has been done on purpose:

for COMMUNITIES - in org.dspace.app.xmlui.aspect.administrative.community.EditCommunityMetadataForm:

if (AuthorizeManager.authorizeActionBoolean(context, thisCommunity, Constants.DELETE))
{
buttonList.addButton("submit_delete").setValue(T_submit_delete);
}

for COLLECTIONS - in org.dspace.app.xmlui.aspect.administrative.collection.EditCollectionMetadataForm:

//Only System Admins can Delete Collections
if (AuthorizeManager.isAdmin(context))
{
buttonList.addButton("submit_delete").setValue(T_submit_delete);
}

Could somebody explain - why was decided that "Only System Admins can Delete Collections"?


On Friday, June 24, 2016 at 3:35:03 PM UTC+3, Evgeni Dimitrov wrote:

    DSpace 5.4

    I have
    - community A
    - in A - subcommunity B
    - in B - collection C

    1. I have an user with "admin" rights on A
    - he can not delete B
    - he can not delete C

    2. I have an user with
    -----"admin" rights on A
    -----"remove" rights on A
    - he can delete B
    - he can not delete C

    For one community I need an user who is allowed to do everything
    (delete including) with the lower level subcommunities and
    collections. How to do this?

--
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com <mailto:dspace-tech+unsubscr...@googlegroups.com>. To post to this group, send email to dspace-tech@googlegroups.com <mailto:dspace-tech@googlegroups.com>.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

--
Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

--
You received this message because you are subscribed to the Google Groups "DSpace 
Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to