Skip to content

Augmenting roles can incorrectly link to roles instead of realms in rare cases #4190

@TheWitness

Description

@TheWitness

Describe the bug

The augmenting of roles in Cacti depends on a filename search in the plugin_realms table. However, the current search can lead to errors, specifically noted in the thold plugin where there is an administrative role for thold.php, but there is also a file graph_thold.php that also matches with the current search criteria. This does not break security in Cacti, but will prevent the thold.php role from moving into it's designated container.

Expected behavior

Realms should map correctly into their respective Roles.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions