Skip to content

Commit 0c3009f

Browse files
TD-5665: Community Contribution Suspend
1 parent e446a00 commit 0c3009f

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

LearningHub.Nhs.WebUI/Scripts/vuesrc/contribute-resource/components/CatalogueSelectorAccordion.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
</p>
2121
<p>
2222
You can contribute a resource as an editor of a catalogue or in your own name.
23-
To contribute a resource in your own name, select Community contributions from the drop down menu.
2423
</p>
2524
<p>
2625
You can manage all resources that you have contributed in the My contributions area.

LearningHub.Nhs.WebUI/Scripts/vuesrc/contribute/CatalogueSelect.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@
2626
A catalogue is a curated set of resources that has its own web page.
2727
</p>
2828
<p>
29-
You can contribute a resource as an editor of a catalogue or in your own name.
30-
To contribute a resource in your own name, select Community contributions from the drop down menu.
29+
You can contribute a resource as an editor of a catalogue or in your own name.
3130
</p>
3231
<p>
3332
You can manage all resources that you have contributed in the My contributions area.

LearningHub.Nhs.WebUI/Services/UserGroupService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public async Task<List<RoleUserGroupViewModel>> GetRoleUserGroupDetailForUserAsy
6262
public async Task<bool> UserHasCatalogueContributionPermission()
6363
{
6464
var userRoleGroups = await this.GetRoleUserGroupDetailAsync();
65-
if (userRoleGroups != null && userRoleGroups.Any(r => r.RoleEnum == RoleEnum.LocalAdmin || r.RoleEnum == RoleEnum.Editor))
65+
if (userRoleGroups != null && userRoleGroups.Any(r => r.RoleEnum == RoleEnum.Editor))
6666
{
6767
return true;
6868
}

0 commit comments

Comments
 (0)