On Grup creation the user creator is automatically added to the gruop
This commit is contained in:
parent
067f487f8b
commit
e08984af23
|
@ -136,7 +136,11 @@ public class GroupManager {
|
|||
|
||||
Group createdGroup = usrManager.createGroup(group);
|
||||
groupId = createdGroup.getID();
|
||||
|
||||
User user = (User)usrManager.getAuthorizable(folderOwner);
|
||||
|
||||
createdGroup.addMember(user);
|
||||
|
||||
createVreFolder(groupId, session, accessType!=null?accessType:AccessType.WRITE_OWNER, folderOwner);
|
||||
|
||||
session.save();
|
||||
|
|
Loading…
Reference in New Issue