src/frontend/packages/cloud-foundry/src/user-permissions/cf-user-permissions-checkers.ts
File cf-user-permissions-checkers.ts
has 432 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import { Store } from '@ngrx/store';
import { combineLatest, Observable, of } from 'rxjs';
import { distinctUntilChanged, filter, map, switchMap } from 'rxjs/operators';
import {
CfUserPermissionsChecker
has 28 functions (exceeds 20 allowed). Consider refactoring. Open
Open
export class CfUserPermissionsChecker extends BaseCurrentUserPermissionsChecker implements ICurrentUserPermissionsChecker {
static readonly ALL_SPACES = 'PERMISSIONS__ALL_SPACES_PLEASE';
constructor(private store: Store<GeneralEntityAppState>) {
super();
TODO found Open
Open
// TODO: See #4189. Wire in. Can be org manager?
- Exclude checks