Skip to content

Commit

Permalink
[DURACOM-202] refactor: code
Browse files Browse the repository at this point in the history
  • Loading branch information
vNovski committed Nov 10, 2023
1 parent b6d515f commit 6f64db1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class ItemPageAccessControlGuard extends DsoPageSingleFeatureGuard<Item>
}

/**
* Check manage mappings authorization rights
* Check administrator authorization rights
*/
getFeatureID(next: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<FeatureID> {
return observableOf(FeatureID.AdministratorOf);
Expand Down
2 changes: 1 addition & 1 deletion src/app/item-page/edit-item-page/item-page-curate.guard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class ItemPageCurateGuard extends DsoPageSingleFeatureGuard<Item> {
}

/**
* Check edit curate authorization rights
* Check administrator authorization rights
*/
getFeatureID(next: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<FeatureID> {
return observableOf(FeatureID.AdministratorOf);
Expand Down

0 comments on commit 6f64db1

Please sign in to comment.