mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-08 18:44:22 +00:00
[DS-3024] Use GroupService.setName, not Group.setName, to implement logic against renaming permanent groups.
This commit is contained in:
@@ -264,7 +264,7 @@ public class CommunityServiceImpl extends DSpaceObjectServiceImpl<Community> imp
|
||||
admins = groupService.create(context);
|
||||
context.restoreAuthSystemState();
|
||||
|
||||
admins.setName(context, "COMMUNITY_" + community.getID() + "_ADMIN");
|
||||
groupService.setName(context, admins, "COMMUNITY_" + community.getID() + "_ADMIN");
|
||||
groupService.update(context, admins);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user