public function __construct(Scorm2004Resource $scormResource, User $user, array $details)
 {
     parent::__construct(self::ACTION, $details, $user, null, $scormResource->getResourceNode(), null, $scormResource->getResourceNode()->getWorkspace());
 }
 private function hasScorm2004Right(Scorm2004Resource $scorm, $right)
 {
     $collection = new ResourceCollection([$scorm->getResourceNode()]);
     return $this->authorization->isGranted($right, $collection);
 }