Skip to content

Commit

Permalink
pkp/pkp-lib#9552 add masthead option to user roles
Browse files Browse the repository at this point in the history
  • Loading branch information
bozana committed Jan 9, 2024
1 parent b5ecb49 commit 854eb84
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions dbscripts/xml/upgrade.xml
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@
<upgrade minversion="3.1.0.0" maxversion="3.4.9.9">
<migration class="PKP\migration\upgrade\v3_5_0\I9253_SiteAnnouncements"/>
<migration class="PKP\migration\upgrade\v3_5_0\I9462_UserUserGroups"/>
<migration class="PKP\migration\upgrade\v3_5_0\I9552_UserGroupsMasthead"/>
</upgrade>

<!-- update plugin configuration - should be done as the final upgrade task -->
Expand Down
6 changes: 3 additions & 3 deletions registry/userGroups.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
<groups>
<!-- Managerial Role -->
<group roleId="0x00000010" name="default.groups.name.manager" plural="default.groups.plural.manager" abbrev="default.groups.abbrev.manager" permitMetadataEdit="true" />
<group roleId="0x00000010" stages="1,3,4,5" name="default.groups.name.editor" plural="default.groups.plural.editor" abbrev="default.groups.abbrev.editor" permitMetadataEdit="true" />
<group roleId="0x00000010" stages="1,3,4,5" name="default.groups.name.editor" plural="default.groups.plural.editor" abbrev="default.groups.abbrev.editor" permitMetadataEdit="true" masthead="true" />
<group roleId="0x00000010" stages="4,5" name="default.groups.name.productionEditor" plural="default.groups.plural.productionEditor" abbrev="default.groups.abbrev.productionEditor" permitMetadataEdit="true" />

<!-- Section Editor Role -->
<group roleId="0x00000011" stages="1,3,4,5" name="default.groups.name.sectionEditor" plural="default.groups.plural.sectionEditor" abbrev="default.groups.abbrev.sectionEditor" permitMetadataEdit="true" />
<group roleId="0x00000011" stages="1,3,4,5" name="default.groups.name.sectionEditor" plural="default.groups.plural.sectionEditor" abbrev="default.groups.abbrev.sectionEditor" permitMetadataEdit="true" masthead="true" />

<!-- Guest editor role -->
<group roleId="0x00000011" stages="1,3,4,5" name="default.groups.name.guestEditor" plural="default.groups.plural.guestEditor" abbrev="default.groups.abbrev.guestEditor" />
Expand All @@ -38,7 +38,7 @@
<group roleId="0x00010000" stages="1,3,4,5" name="default.groups.name.translator" plural="default.groups.plural.translator" abbrev="default.groups.abbrev.translator" />

<!-- Reviewer Role -->
<group roleId="0x00001000" stages="3" name="default.groups.name.externalReviewer" plural="default.groups.plural.externalReviewer" abbrev="default.groups.abbrev.externalReviewer" permitSelfRegistration="true" />
<group roleId="0x00001000" stages="3" name="default.groups.name.externalReviewer" plural="default.groups.plural.externalReviewer" abbrev="default.groups.abbrev.externalReviewer" permitSelfRegistration="true" masthead="true" />

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

0 comments on commit 854eb84

Please sign in to comment.