[
https://jira.duraspace.org/browse/DS-724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20481#action_20481
]
Andreas Schwander commented on DS-724:
--------------------------------------
Hi Robin,
actually I figured out that there is an error when i was creating a class for
our repository that reads a "communites" xml file and modifies/creates the
collections defined in that .xml file.
If I want to modify a collection or delete them, e.g. adding members or
removing the ADMIN group of a certain collection defined in the .xml file I
call mCollection.createAdministrators() to receive the ADMIN group associated
with the collection.
Regards
Andreas
> createAdministrators() and createSubmitters() should not add policies if the
> associated group already exists
> ------------------------------------------------------------------------------------------------------------
>
> Key: DS-724
> URL: https://jira.duraspace.org/browse/DS-724
> Project: DSpace
> Issue Type: Bug
> Components: DSpace API
> Affects Versions: 1.6.2
> Reporter: Andreas Schwander
> Assignee: Robin Taylor
> Attachments: Collection.patch
>
>
> New policies will be created when the methods createAdministrators() and
> createSubmitters() in org.dspace.content.Collection will be called even if
> the administrators or the submitters group already exists.
> These methods should just return the group if one exists and should not
> update the database or add policies.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.duraspace.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel