Skip to content

Commit d791fb1

Browse files
FrancescoMolinarovins01-4science
authored andcommitted
Merged in task/dspace-cris-2023_02_x/DSC-1902 (pull request DSpace#2220)
[DSC-1902] enable edit and new menu sections for community and collections admin Approved-by: Vincenzo Mecca
2 parents b95a7e9 + 538e424 commit d791fb1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/menu.resolver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ export class MenuResolver implements Resolve<boolean> {
318318
id: 'new_item',
319319
parentID: 'new',
320320
active: false,
321-
visible: isSiteAdmin,
321+
visible: isSiteAdmin || isCommunityAdmin || isCollectionAdmin,
322322
model: {
323323
type: MenuItemType.ONCLICK,
324324
text: 'menu.section.new_item',

0 commit comments

Comments
 (0)