Skip to content

Commit b81e30a

Browse files
sKarki999fwolf-ilias
authored andcommitted
Fix(SOAP): Add authorization check to getLearningProgressChanges.
Signed-off-by: Releasemanager <webmaster@ilias.de>
1 parent 07a8ab9 commit b81e30a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

components/ILIAS/soap/classes/class.ilSoapLearningProgressAdministration.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,10 @@ public function getLearningProgressChanges(string $sid, string $timestamp, bool
499499
$types = implode(",", $type_filter);
500500
}
501501

502+
if (!$DIC->rbac()->review()->isAssigned($DIC->user()->getId(), SYSTEM_ROLE_ID)) {
503+
return $this->raiseError('Permission denied.', 'Client');
504+
}
505+
502506
// output lp changes as xml
503507
try {
504508
$writer = new ilLPXmlWriter(true);

0 commit comments

Comments
 (0)