EndemolShineGroup/acl

View on GitHub

Showing 2 of 8 total issues

Function toExtend has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  toExtend(roleNameToExtend: string): void {
    this.checkRolesExist();

    const roles: Roles = this.rolesStore.getRoles();

Severity: Minor
Found in src/Steps/AllowStep.ts - About 1 hr to fix

    Function for has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      for(...stages: string[]): void {
        const roles: Roles = this.rolesStore.getRoles();
    
        const query: GrantQuery = this.query as GrantQuery;
    
    
    Severity: Minor
    Found in src/Steps/GrantPermissionStep.ts - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language