Skip to content

Commit

Permalink
pkp/pkp-lib#10620 introduce new Editorial Board Member assistant role
Browse files Browse the repository at this point in the history
bozana committed Jan 13, 2025
1 parent ac09401 commit c0be3b0
Showing 3 changed files with 37 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?php

/**
* @file classes/migration/upgrade/v3_5_0/I10620_EditorialBoardMemberRole.php
*
* Copyright (c) 2025 Simon Fraser University
* Copyright (c) 2025 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* @class I10620_EditorialBoardMemberRole
*
* @brief Add new Editorial Board Member user group.
*/

namespace APP\migration\upgrade\v3_5_0;

class I10620_EditorialBoardMemberRole extends \PKP\migration\upgrade\v3_5_0\I10620_EditorialBoardMemberRole
{
protected function getContextTable(): string
{
return 'journals';
}

protected function getContextSettingsTable(): string
{
return 'journal_settings';
}

protected function getContextIdColumn(): string
{
return 'journal_id';
}
}
1 change: 1 addition & 0 deletions dbscripts/xml/upgrade.xml
Original file line number Diff line number Diff line change
@@ -158,6 +158,7 @@
<migration class="PKP\migration\upgrade\v3_5_0\I10292_UpdateControlledVocabAssocId"/>
<migration class="PKP\migration\upgrade\v3_5_0\I10292_UpdateControlledVocabEntrySettingName"/>
<migration class="PKP\migration\upgrade\v3_5_0\FilterClassNames"/>
<migration class="APP\migration\upgrade\v3_5_0\I10620_EditorialBoardMemberRole"/>
<note file="docs/release-notes/README-3.5.0" />
</upgrade>

3 changes: 3 additions & 0 deletions registry/userGroups.xml
Original file line number Diff line number Diff line change
@@ -45,4 +45,7 @@

<!-- Subscription Manager Role -->
<group roleId="0x00200000" stages="" name="default.groups.name.subscriptionManager" plural="default.groups.plural.subscriptionManager" abbrev="default.groups.abbrev.subscriptionManager" />

<!-- Editorial Board Member Role -->
<group roleId="0x00001001" stages="" name="default.groups.name.editorialBoardMember" plural="default.groups.plural.editorialBoardMember" abbrev="default.groups.abbrev.editorialBoardMember" masthead="true" />
</groups>

0 comments on commit c0be3b0

Please sign in to comment.