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.