Bernd-L/exDateMan

View on GitHub

Showing 114 of 114 total issues

Consider simplifying this complex logical expression.
Open

    if (process.env.EDM_SSL === "true") {
      // Use SSL

      /**
       * The private key for SSL
Severity: Major
Found in backend/src/server.ts - About 40 mins to fix

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

        thingData?: {
          /**
           * The name of the thing
           */
          name?: string;
    backend/src/app/client-events.ts on lines 366..383

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 47.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

        thingData?: {
          /**
           * The name of the thing
           */
          name: string;
    Severity: Minor
    Found in backend/src/app/client-events.ts and 1 other location - About 35 mins to fix
    frontend/src/app/services/EventSourcing/event-sourcing.service.ts on lines 364..381

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 47.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Function loadUser has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
    Open

      async loadUser(): Promise<void> {
        try {
          this.user = ((await this.as.getCurrentUser()).user as unknown) as User; // TODO FixMe
          console.log(this.user);
    
    
    Severity: Minor
    Found in frontend/src/app/components/account/account.component.ts - About 35 mins to fix

    Cognitive Complexity

    Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

    A method's cognitive complexity is based on a few simple rules:

    • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
    • Code is considered more complex for each "break in the linear flow of the code"
    • Code is considered more complex when "flow breaking structures are nested"

    Further reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

        this.routes.put(
          "/",
          this.checkForManagementEventLogs,
          (req: Request, res: Response) =>
            this.handleAppendInventoryEventRequest(req, res),
    Severity: Minor
    Found in backend/src/app/client-events.ts and 1 other location - About 35 mins to fix
    backend/src/app/client-events.ts on lines 43..48

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 46.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      async resolveUser(email: string): Promise<User> {
        return await this.http
          .get<User>(this.baseUrl + "/authentication/resolve/" + email)
          .toPromise();
      }
    Severity: Minor
    Found in frontend/src/app/services/auth/auth.service.ts and 1 other location - About 35 mins to fix
    frontend/src/app/services/auth/auth.service.ts on lines 168..172

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 46.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Identical blocks of code found in 5 locations. Consider refactoring.
    Open

          {
            icon: Icon.Inventory,
            title: this.is.inventories[this.inventoryUuid].name,
            routerLink: `/inventories`
          },
    Severity: Major
    Found in frontend/src/app/components/edit-stock/edit-stock.component.ts and 4 other locations - About 35 mins to fix
    frontend/src/app/components/add-stock/add-stock.component.ts on lines 59..63
    frontend/src/app/components/add-thing/add-thing.component.ts on lines 49..53
    frontend/src/app/components/edit-thing/edit-thing.component.ts on lines 57..61
    frontend/src/app/components/stocks/stocks.component.ts on lines 51..55

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 46.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Identical blocks of code found in 5 locations. Consider refactoring.
    Open

          {
            icon: Icon.Inventory,
            title: this.is.inventories[this.inventoryUuid].name,
            routerLink: `/inventories`
          },
    Severity: Major
    Found in frontend/src/app/components/edit-thing/edit-thing.component.ts and 4 other locations - About 35 mins to fix
    frontend/src/app/components/add-stock/add-stock.component.ts on lines 59..63
    frontend/src/app/components/add-thing/add-thing.component.ts on lines 49..53
    frontend/src/app/components/edit-stock/edit-stock.component.ts on lines 69..73
    frontend/src/app/components/stocks/stocks.component.ts on lines 51..55

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 46.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Identical blocks of code found in 5 locations. Consider refactoring.
    Open

          {
            icon: Icon.Inventory,
            title: this.is.inventories[this.inventoryUuid].name,
            routerLink: `/inventories`
          },
    Severity: Major
    Found in frontend/src/app/components/add-stock/add-stock.component.ts and 4 other locations - About 35 mins to fix
    frontend/src/app/components/add-thing/add-thing.component.ts on lines 49..53
    frontend/src/app/components/edit-stock/edit-stock.component.ts on lines 69..73
    frontend/src/app/components/edit-thing/edit-thing.component.ts on lines 57..61
    frontend/src/app/components/stocks/stocks.component.ts on lines 51..55

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 46.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Identical blocks of code found in 5 locations. Consider refactoring.
    Open

          {
            icon: Icon.Inventory,
            title: this.is.inventories[this.inventoryUuid].name,
            routerLink: `/inventories`
          },
    Severity: Major
    Found in frontend/src/app/components/add-thing/add-thing.component.ts and 4 other locations - About 35 mins to fix
    frontend/src/app/components/add-stock/add-stock.component.ts on lines 59..63
    frontend/src/app/components/edit-stock/edit-stock.component.ts on lines 69..73
    frontend/src/app/components/edit-thing/edit-thing.component.ts on lines 57..61
    frontend/src/app/components/stocks/stocks.component.ts on lines 51..55

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 46.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

        this.routes.get(
          "/:inventoryUuid",
          this.checkForManagementEventLogs,
          (req: Request, res: Response) =>
            this.handleGetInventoryEventsRequest(req, res),
    Severity: Minor
    Found in backend/src/app/client-events.ts and 1 other location - About 35 mins to fix
    backend/src/app/client-events.ts on lines 51..56

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 46.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Identical blocks of code found in 5 locations. Consider refactoring.
    Open

          {
            icon: Icon.Inventory,
            title: this.is.inventories[this.inventoryUuid].name,
            routerLink: `/inventories`
          },
    Severity: Major
    Found in frontend/src/app/components/stocks/stocks.component.ts and 4 other locations - About 35 mins to fix
    frontend/src/app/components/add-stock/add-stock.component.ts on lines 59..63
    frontend/src/app/components/add-thing/add-thing.component.ts on lines 49..53
    frontend/src/app/components/edit-stock/edit-stock.component.ts on lines 69..73
    frontend/src/app/components/edit-thing/edit-thing.component.ts on lines 57..61

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 46.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

        const dialogRef: MatDialogRef<any> = this.dialog.open(
          DeleteConfirmationDialogComponent,
          {
            data: { inventory: this.inventory }
          }
    frontend/src/app/components/edit-stock/edit-stock.component.ts on lines 150..155
    frontend/src/app/components/edit-thing/edit-thing.component.ts on lines 125..130

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 46.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      async getUserByUuid(uuid: string): Promise<User> {
        return await this.http
          .get<User>(this.baseUrl + "/authentication/user/" + uuid)
          .toPromise();
      }
    Severity: Minor
    Found in frontend/src/app/services/auth/auth.service.ts and 1 other location - About 35 mins to fix
    frontend/src/app/services/auth/auth.service.ts on lines 157..161

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 46.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

      constructor(
        private is: InventoryService,
        private ts: ThingService,
        private route: ActivatedRoute,
        private router: Router,
    Severity: Minor
    Found in frontend/src/app/components/add-thing/add-thing.component.ts and 2 other locations - About 35 mins to fix
    frontend/src/app/components/categories/categories.component.ts on lines 26..32
    frontend/src/app/components/login/login.component.ts on lines 20..29

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 46.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

        const dialogRef: MatDialogRef<any> = this.dialog.open(
          DeleteConfirmationDialogComponent,
          {
            data: { thing: this.thing }
          }
    Severity: Minor
    Found in frontend/src/app/components/edit-thing/edit-thing.component.ts and 2 other locations - About 35 mins to fix
    frontend/src/app/components/edit-inventory/edit-inventory.component.ts on lines 199..204
    frontend/src/app/components/edit-stock/edit-stock.component.ts on lines 150..155

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 46.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

        const dialogRef: MatDialogRef<any> = this.dialog.open(
          DeleteConfirmationDialogComponent,
          {
            data: { stock: this.stock }
          }
    Severity: Minor
    Found in frontend/src/app/components/edit-stock/edit-stock.component.ts and 2 other locations - About 35 mins to fix
    frontend/src/app/components/edit-inventory/edit-inventory.component.ts on lines 199..204
    frontend/src/app/components/edit-thing/edit-thing.component.ts on lines 125..130

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 46.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

      constructor(
        private cs: CategoryService,
        private is: InventoryService,
        private route: ActivatedRoute,
        private router: Router,
    Severity: Minor
    Found in frontend/src/app/components/categories/categories.component.ts and 2 other locations - About 35 mins to fix
    frontend/src/app/components/add-thing/add-thing.component.ts on lines 27..35
    frontend/src/app/components/login/login.component.ts on lines 20..29

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 46.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Avoid too many return statements within this function.
    Open

          return false;
    Severity: Major
    Found in backend/src/app/authorization.ts - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

            return (
              Authorization.inventoriesProjection[event.inventoryUuid].ownerUuid ===
                userUuid ||
              Authorization.inventoriesProjection[
                event.inventoryUuid
      Severity: Major
      Found in backend/src/app/authorization.ts - About 30 mins to fix
        Severity
        Category
        Status
        Source
        Language