Lets say I have the following setup
- Two teams:
TeamAlice
andTeamBob
- A command that requires admin access:
admin_command
- Two sets of computers:
TeamAlice_Computers
andTeamBob_Computers
Only TeamAlice
has login access to TeamAlice_Computers
, and only TeamBob
has login access to TeamBob_Computers
Is it acceptable to put TeamAlice
and TeamBob
in a security group that gives permission to admin_command
? or should I instead make 2x security groups, explicitly listing the team / computers? Are there pros/cons to each?
My gut feel is that having a single security group would make the permissions less cluttered and easier to understand, but that somehow it violates the principle of least privilege. Am I overthinking this?