[DS-261] Community Admin JSPUI: porting of the DS-228 patch

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@4196 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Andrea Bollini
2009-08-06 13:29:46 +00:00
parent 7eae73c1d8
commit 0b3c7b9fa0
11 changed files with 161 additions and 33 deletions

View File

@@ -939,9 +939,7 @@ public class Community extends DSpaceObject
//he started the removal process and he will end it too.
//also add right to remove from the collection to remove it's
// items.
AuthorizeManager.addPolicy(ourContext, c, Constants.DELETE,
ourContext.getCurrentUser());
AuthorizeManager.addPolicy(ourContext, c, Constants.REMOVE,
AuthorizeManager.addPolicy(ourContext, c, Constants.ADMIN,
ourContext.getCurrentUser());
// Orphan; delete it