This PR will add and authentication level for admins, they will be able to list any other existing clusters.
Screenshots:
This is the testing local table with only two records: I logged in as Admin (user user-0000000...) and will execute:
With no modifiers, bcl clusters list will show my own started clusters only.
Let's test with the --all modifier, in order to get the stopped clusters of my own:
Now will execute with --allUsers in order to get all other clusters, not only mine, but marked as started:
And let's execute with both modifiers --all and --allUsers to get every cluster, started and stopped:
And finally, this is the execution result with another user profile, with no admin rights:
This PR will add and authentication level for admins, they will be able to list any other existing clusters.
Screenshots:
This is the testing local table with only two records: I logged in as Admin (user
user-0000000...
) and will execute:With no modifiers,
bcl clusters list
will show my own started clusters only. Let's test with the--all
modifier, in order to get the stopped clusters of my own:Now will execute with
--allUsers
in order to get all other clusters, not only mine, but marked asstarted
:And let's execute with both modifiers
--all
and--allUsers
to get every cluster, started and stopped:And finally, this is the execution result with another user profile, with no admin rights:
Closes #183