Skip to content

Commit

Permalink
Merge branch 'release-15.19.6'
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Aug 26, 2024
2 parents d54d525 + 0db8b68 commit 47f3089
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions install/ontology/ltiroles_membership.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@
<generis:includesRole rdf:resource="http://www.tao.lu/Ontologies/TAOTest.rdf#TaoQtiTestPreviewerRole"/>
<generis:includesRole rdf:resource="http://www.tao.lu/Ontologies/TAO.rdf#RestrictedItemAuthor"/>
<generis:includesRole rdf:resource="http://www.tao.lu/Ontologies/TAOItem.rdf#AbstractItemAuthor"/>
<generis:includesRole rdf:resource="http://www.tao.lu/Ontologies/TAOItem.rdf#ItemAuthor"/>
<generis:includesRole rdf:resource="http://www.tao.lu/Ontologies/TAOItem.rdf#ItemClassNavigatorRole"/>
<generis:includesRole rdf:resource="http://www.tao.lu/Ontologies/TAOItem.rdf#ItemClassEditorRole"/>
<generis:includesRole rdf:resource="http://www.tao.lu/Ontologies/TAOItem.rdf#ItemClassCreatorRole"/>
Expand Down
33 changes: 33 additions & 0 deletions migrations/Version202408231119303772_taoLti.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?php

declare(strict_types=1);

namespace oat\taoLti\migrations;

use Doctrine\DBAL\Schema\Schema;
use oat\tao\scripts\tools\migrations\AbstractMigration;
use oat\tao\scripts\update\OntologyUpdater;

/**
* Auto-generated Migration: Please modify to your needs!
*
* phpcs:disable Squiz.Classes.ValidClassName
*/
final class Version202408231119303772_taoLti extends AbstractMigration
{
public function getDescription(): string
{
return 'Add missed ItemAuthor role for LTI users';
}

public function up(Schema $schema): void
{
OntologyUpdater::syncModels();
}

public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
}

}

0 comments on commit 47f3089

Please sign in to comment.