Skip to content

Commit f865cf9

Browse files
[DSC-1904] fix comments
1 parent dd630de commit f865cf9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/app/core/data/feature-authorization/feature-authorization-guard/generic-administrator-guard.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { SomeFeatureAuthorizationGuard } from './some-feature-authorization.guar
88

99
/**
1010
* Prevent unauthorized activating and loading of routes when the current authenticated user doesn't have administrator
11-
* rights to the {@link Site}
11+
* rights to the {@link Site}, Community or Collection
1212
*/
1313
@Injectable({
1414
providedIn: 'root'
@@ -19,7 +19,7 @@ export class GenericAdministratorGuard extends SomeFeatureAuthorizationGuard {
1919
}
2020

2121
/**
22-
* Check if user does not have administrator rights to Site, Community or Collection
22+
* Check if user have administrator rights to Site, Community or Collection
2323
*/
2424
getFeatureIDs(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<FeatureID[]> {
2525
return observableOf([

0 commit comments

Comments
 (0)