The unit tests can be found at tests/unit and can be invoked from either VSCode or from the command line, e.g. pytest Integration tests can be found at tests/integration which also contains a demo.sh script which allows you to experiment with a demo of Slurm-Mail complete with MailHog ...
resourceNamesfield in RBAC role should be enhanced to give permissions to all instances of a resource matching some pattern. For example, if we defineresourceNames: ["my-deployment"]in role, then user should be given access to all instances of a resource which contains string "my-deployment"...