diff --git a/src/app/+item-page/edit-item-page/item-page-bitstreams.guard.ts b/src/app/+item-page/edit-item-page/item-page-bitstreams.guard.ts index bf4a6dc681..764c6ac7c8 100644 --- a/src/app/+item-page/edit-item-page/item-page-bitstreams.guard.ts +++ b/src/app/+item-page/edit-item-page/item-page-bitstreams.guard.ts @@ -26,6 +26,6 @@ export class ItemPageBitstreamsGuard extends DsoPageSingleFeatureGuard { * Check manage bitstreams authorization rights */ getFeatureID(next: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable { - return observableOf(FeatureID.CanManageBitstreams); + return observableOf(FeatureID.CanManageBitstreamBundles); } } diff --git a/src/app/+item-page/edit-item-page/item-status/item-status.component.ts b/src/app/+item-page/edit-item-page/item-status/item-status.component.ts index f95d2d1517..f01f5c1f7a 100644 --- a/src/app/+item-page/edit-item-page/item-status/item-status.component.ts +++ b/src/app/+item-page/edit-item-page/item-status/item-status.component.ts @@ -83,7 +83,7 @@ export class ItemStatusComponent implements OnInit { if (item.isWithdrawn) { operations.push(new ItemOperation('reinstate', this.getCurrentUrl(item) + '/reinstate', FeatureID.ReinstateItem, true)); } else { - operations.push(new ItemOperation('reinstate', this.getCurrentUrl(item) + '/reinstate', FeatureID.WithdrawItem, true)); + operations.push(new ItemOperation('withdraw', this.getCurrentUrl(item) + '/withdraw', FeatureID.WithdrawItem, true)); } if (item.isDiscoverable) { operations.push(new ItemOperation('private', this.getCurrentUrl(item) + '/private', FeatureID.CanMakePrivate, true)); diff --git a/src/app/core/data/feature-authorization/feature-id.ts b/src/app/core/data/feature-authorization/feature-id.ts index 9a3d13183b..6d070fcd4c 100644 --- a/src/app/core/data/feature-authorization/feature-id.ts +++ b/src/app/core/data/feature-authorization/feature-id.ts @@ -14,7 +14,7 @@ export enum FeatureID { IsCommunityAdmin = 'isCommunityAdmin', CanDownload = 'canDownload', CanManageVersions = 'canManageVersions', - CanManageBitstreams = 'canManageBitstreams', + CanManageBitstreamBundles = 'canManageBitstreamBundles', CanManageRelationships = 'canManageRelationships', CanManageMappings = 'canManageMappings', CanManagePolicies = 'canManagePolicies',