Skip to content

Commit

Permalink
Merge pull request #814 from bozana/10620
Browse files Browse the repository at this point in the history
pkp/pkp-lib#10620 introduce new Editorial Board Member assistant role
  • Loading branch information
bozana authored Jan 13, 2025
2 parents 323d645 + b1df6fc commit 19402cc
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 2 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 'servers';
}

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

protected function getContextIdColumn(): string
{
return 'server_id';
}
}
3 changes: 2 additions & 1 deletion dbscripts/xml/upgrade.xml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@
<migration class="PKP\migration\upgrade\v3_5_0\I10292_RemoveControlledVocabEntrySettingType"/>
<migration class="PKP\migration\upgrade\v3_5_0\I10292_UpdateControlledVocabAssocId"/>
<migration class="PKP\migration\upgrade\v3_5_0\I10292_UpdateControlledVocabEntrySettingName"/>
<migration class="APP\migration\upgrade\v3_4_0\FilterClassNames"/>
<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>

Expand Down
2 changes: 2 additions & 0 deletions registry/userGroups.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,6 @@
<!-- Reader Role -->
<group roleId="0x00100000" stages="" name="default.groups.name.reader" plural="default.groups.plural.reader" abbrev="default.groups.abbrev.reader" permitSelfRegistration="true" />

<!-- 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 19402cc

Please sign in to comment.