// Initialize available rights
if (flags.isEnabled(BGConfigFlags.RIGHTS)) {
// for now only course rights are relevant
// would be nice if this was shomehow defined when initializing
// the group context
this.bgRights = new CourseRights(ureq.getLocale());
}
// try to acquire edit lock on business group
String locksubkey = "groupEdit";
lockEntry = CoordinatorManager.getCoordinator().getLocker().acquireLock(currBusinessGroup, ureq.getIdentity(), locksubkey);
if (lockEntry.isSuccess()) {