Skip to content

On larger systems, permission checks may render system unusable #4573

Description

@TheWitness

Describe the bug

Due to the use of the SQL Having clause with vary large numbers of Graphs, the Cacti permission system does not work in cases other than the 'simple' permissions workaround. In order to resolve this issue, Cacti must move away from the use of SQL Having clauses to improve page performance.

To Reproduce

Steps to reproduce the behavior:

  1. Have several hundred thousand graphs

  2. Have several tens of thousands of devices

  3. Have several thousand users

  4. Attempt to set finite permissions either based upon a user or group

  5. Watch Cacti burn 💯

Expected behavior

Cacti should behave better on large installs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourunverifiedSome days we don't have a clue

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions