Skip to content

Commit 6f64db1

Browse files
committed
[DURACOM-202] refactor: code
1 parent b6d515f commit 6f64db1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/app/item-page/edit-item-page/item-page-access-control.guard.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export class ItemPageAccessControlGuard extends DsoPageSingleFeatureGuard<Item>
2323
}
2424

2525
/**
26-
* Check manage mappings authorization rights
26+
* Check administrator authorization rights
2727
*/
2828
getFeatureID(next: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<FeatureID> {
2929
return observableOf(FeatureID.AdministratorOf);

src/app/item-page/edit-item-page/item-page-curate.guard.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export class ItemPageCurateGuard extends DsoPageSingleFeatureGuard<Item> {
2323
}
2424

2525
/**
26-
* Check edit curate authorization rights
26+
* Check administrator authorization rights
2727
*/
2828
getFeatureID(next: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<FeatureID> {
2929
return observableOf(FeatureID.AdministratorOf);

0 commit comments

Comments
 (0)