cloudfoundry/stratos

View on GitHub
src/frontend/packages/cloud-foundry/src/user-permissions/cf-user-permissions-checkers.ts

Summary

Maintainability
A
0 mins
Test Coverage

File cf-user-permissions-checkers.ts has 432 lines of code (exceeds 250 allowed). Consider refactoring.
Wontfix

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.
    Wontfix

    export class CfUserPermissionsChecker extends BaseCurrentUserPermissionsChecker implements ICurrentUserPermissionsChecker {
      static readonly ALL_SPACES = 'PERMISSIONS__ALL_SPACES_PLEASE';
    
      constructor(private store: Store<GeneralEntityAppState>) {
        super();

      TODO found
      Wontfix

        // TODO: See #4189. Wire in. Can be org manager?

      There are no issues that match your filters.

      Category
      Status