Skip to content

Commit 94866ca

Browse files
vNovskigithub-actions[bot]
authored andcommitted
[DURACOM-202] refactor: code
(cherry picked from commit 6f64db1)
1 parent a5a59dc commit 94866ca

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)