Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkp/pkp-lib#10620 introduce new Editorial Board Member assistant role #1770

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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) 2024 Simon Fraser University
* Copyright (c) 2024 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';
}
}
1 change: 1 addition & 0 deletions dbscripts/xml/upgrade.xml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@
<migration class="APP\migration\upgrade\v3_5_0\I5885_RenameReviewReminderSettingsName"/>
<migration class="PKP\migration\upgrade\v3_5_0\COA75_AddUserRoleEndEmail"/>
<migration class="APP\migration\upgrade\v3_5_0\I10561_OnixFilter"/>
<migration class="APP\migration\upgrade\v3_5_0\I10620_EditorialBoardMemberRole"/>
</upgrade>

<!-- Update plugin configuration - should be done as the final upgrade task -->
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>
Loading