//if not a course, update the repositoryEntry NOW!
if(!repositoryEntry.getOlatResource().getResourceableTypeName().equals(CourseModule.getCourseTypeName())) {
RepositoryManager.getInstance().setProperties(repositoryEntry, propPupForm.canCopy(), propPupForm.canReference(), propPupForm.canLaunch(), propPupForm.canDownload() );
RepositoryManager.getInstance().setAccess(repositoryEntry, propPupForm.getAccess());
// inform anybody interrested about this change
MultiUserEvent modifiedEvent = new EntryChangedEvent(repositoryEntry, EntryChangedEvent.MODIFIED);
CoordinatorManager.getCoordinator().getEventBus().fireEventToListenersOf(modifiedEvent, repositoryEntry);
fireEvent(ureq, Event.CHANGED_EVENT);
}
return;
}