Skip to content

Commit

Permalink
Merge pull request #1770 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 af6eb94 + 4f9e012 commit 0c65603
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 3 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 'presses';
}

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

protected function getContextIdColumn(): string
{
return 'press_id';
}
}
3 changes: 2 additions & 1 deletion dbscripts/xml/upgrade.xml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,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
5 changes: 4 additions & 1 deletion registry/userGroups.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,7 @@

<!-- Reader Role -->
<group roleId="0x00100000" name="default.groups.name.reader" plural="default.groups.plural.reader" abbrev="default.groups.abbrev.reader" permitSelfRegistration="true" />
</groups>

<!-- 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 0c65603

Please sign in to comment.