Using Organizational Units and Groups in Google Workspace for Different User Permissions
Setting up different 2-step Verification Requirements for Different Users in Your Google Workspace
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
⚙️ Check out my series on Automating Cybersecurity Metrics. The Code.
🔒 Related Stories: Google Security | Cloud Governance | DNS Security
💻 Free Content on Jobs in Cybersecurity | ✉️ Sign up for the Email List
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In the last post, I wrote about how I was having a problem with Google Workspace and hardware security keys and how I was trying to get around it.
Now I have a conundrum. If I require security keys only and something breaks either hardware security keys on Google (such as happened with my Twitter, er I mean X, account where the hardware security key just randomly stopped working) I still need to get into my admin accounts. I want to have some other options but I don’t want to use them except in case of emergency.
For all my other accounts, I want to require the hardware security key option only. Unfortunately that currently causes problems on my phone as demonstrated in the last post, but I am sure Google will fix that shortly.
In the meantime how can I set up these different requirements?
Google Workspace Organizational Units
Well first, there’s an option to create Organizational Units in Google Workspace.
Navigate to Directory > Organizational Units.
Click Create organizational unit.
![](https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*NX0HgzQeL0rlwZ1T_mMafQ.png)
You can create an organizational unit and add users to it and then change the security configuration for that organizational unit. For example, I might create an organizational unit called Non-Admin and then add users to it. Then I can disable any 2-step verification except hardware security keys for that group (presuming it actually works as a second factor.)
I could possibly create two organizational units — Admin and Non-Admin:
![](https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*CjpQeNmXlovfzQpUX4WvsQ.png)
Then I navigate to and click on any user.
Click CHANGE ORGANIZATIONAL UNIT.
![](https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*2j8PshXxqZdPu8CDTapBPA.png)
Add the user to the organizational unit.
![](https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*4mxkON48KPP56QbQy6BFyg.png)
Verify the user is in the organizational unit on the secreen above after the change:
![](https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*wQgpLhfni5tKHSbDWZtrCw.png)
Not back where I changed 2-Step verification in a prior post, I can require security key only as a 2-Step verification option for non-admins.
![](https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*fVHkcKt87IPOV-zWpBiD4Q.png)
This is a little different than the advice you usually get which is to add hardware security keys only for administrators. I think everyone should be using a security key when possible as a second factor.
I would only use passwordless for less-technical users who aren’t equipped to deal with a more complex solution as it is better than a password alone or getting tricked into entering a 2-step code on the wrong screen. However, for more technical users I still think a password plus a security key is better.
I also would leave on other options for administrators so you don’t get locked out of your account, but only use them in case of emergency. However, at the moment, Google has a bug that doesn’t let you use your hardware security key at all which I hope they fix soon.
Google Groups
You can also apply security policies to Google Groups.
Navigate to Directory > Groups.
There’s a link here to Learn about Security groups.
![](https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*IIrLzpZMm08iYjIHk_rMTQ.png)
Create a group and apply specific policies to the group specifying what they can and cannot do.
Let’s say I create two groups — one for Google Workspace Administration and one for non-admins.
Google groups can be used to create email aliases — where any time you email the group email address, that email goes to anyone else in the group. But there’s another purpose for Google groups — which is to create a group of users to which you want to apply a security policy. You have to specify that the group is for the latter purpose when you create it.
When I create the groups I check the box next to Security.
![](https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*KazBCKHoEvd_uThqyKr6Hw.png)
On the next screen, you can configure some group settings. You can specify that certain emails can only be used internally at your organization or within a certain group. Make sure this works as expected. If those users need to be able to get external messages for some purpose you might break something.
![](https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*b_8-jWIZDtLOPxYqTXl6IA.png)
One thing I don’t particularly love about these settings is that regardless of how you configure the last setting, external members can still be added to the group.
Next you can add members to the group:
![](https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*243PWEhcGns2fzhqb5OZlw.png)
I added a user that is already a Super Admin to this group and I got this error. That’s probably because this user can already do everything in Google Workspace. However, it added the user despite this message.
![](https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*C8wcyBabeqKjjz_5YUvong.png)
Here’s what Google says about when you might want to create a security group:
![](https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*hC0RXt1qvXggiVFjJLGbhA.png)
This page has some of the service settings you can change for a Google group:
![](https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*OBbcb9IvXDWaQaz5OKaUKw.png)
Now let’s say I wanted to apply a policy for a service to a specific group.
Head back over to the Google service you want to modify as I demonstrated in my Google Workspace security 101 post.
![](https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*o2-2pomUfgrIjYnZmRbItw.png)
On the left side search for and add your group. Then you can turn on that service for that specific group and configure it instead of allowing everyone in your organization to use it. I’m not going to enable Cloud Search for reasons explained in that 101 post. This is just an example.
You can also apply your security settings to a group:
![](https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*SJIQtDW9Ln6VP-LYrZUOoQ.png)
Groups or Organizational Units?
I mentioned above I don’t like that warning that you can add external users to a group regardless of the global configuration. I would test that thoroughly to see how your groups might be abused in that case if you grant administrative or special privileges via a group. Other than that the design depends on your particular organization.
I’ve written a good deal about designing and organizational structure and policies in AWS and these posts are also applicable to Google Cloud and Google Workspace. The the constructs are a bit different, the principles are the same.
Follow for updates.
Teri Radichel | © 2nd Sight Lab 2024
About Teri Radichel:
~~~~~~~~~~~~~~~~~~~~
⭐️ Author: Cybersecurity Books
⭐️ Presentations: Presentations by Teri Radichel
⭐️ Recognition: SANS Award, AWS Security Hero, IANS Faculty
⭐️ Certifications: SANS ~ GSE 240
⭐️ Education: BA Business, Master of Software Engineering, Master of Infosec
⭐️ Company: Penetration Tests, Assessments, Phone Consulting ~ 2nd Sight Lab
Need Help With Cybersecurity, Cloud, or Application Security?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
🔒 Request a penetration test or security assessment
🔒 Schedule a consulting call
🔒 Cybersecurity Speaker for Presentation
Follow for more stories like this:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
❤️ Sign Up my Medium Email List
❤️ Twitter: @teriradichel
❤️ LinkedIn: https://www.linkedin.com/in/teriradichel
❤️ Mastodon: @teriradichel@infosec.exchange
❤️ Facebook: 2nd Sight Lab
❤️ YouTube: @2ndsightlab
![](https://cdn-images-1.readmedium.com/v2/resize:fit:800/0*H9Ew1KCl-29nZiPR.jpeg)