Add tests to ensure we don't allow users such as auditors to create or register runners
The following discussion from !122313 (merged) should be addressed:
-
@mrincon started a discussion: (+1 comment) NB:
newRunnerPath
andregistrationToken
are nullable because some users may not have access to them such as auditors that can see the configuration but not add new runners.Also, moving forward the configuration of the group or instance may determine some parts of the UI are not accessible depending on the permissions of users.