Group-Based Access Control (GBAC)
What is group-based access control?
Group-based access control (GBAC) is an access control model that regulates access to resources by assigning permissions based on user group membership. It simplifies authorization by granting or restricting access based on which predefined groups a user belongs to, which makes access easier to administer.
How GBAC works
In GBAC, permissions are assigned to groups, not individual users. A group is a collection of users, often kept in a directory or identity provider, such as Active Directory, and each group is mapped to the resources its members need. When a user joins a group, they receive that group's access. When they leave the group, they lose that access. For example, a user in the Engineering group can reach the engineering systems because that group has been granted access to them.
Why use groups for access control?
Groups make access easier to manage. Instead of managing each person's access separately, GBAC places people in groups based on their roles and responsibilities. For example:
- Admin group. Members get broad access to administer systems, so the group is kept small and reviewed regularly.
- Sales group. Members can access customer data but not payroll systems.
- Interns group. Members can access training resources only, until their role changes.
The benefits of GBAC
GBAC has three main benefits:
- Efficiency. Managing access for a hundred individuals one by one is slow and error-prone. With GBAC, administrators manage a few groups instead.
- Consistency and security. When someone changes teams or leaves the organization, administrators update their group memberships, and their access changes everywhere those groups apply. That reduces the chance of leftover access that nobody notices, although group membership still needs regular review.
- Scalability. As the organization grows, new people join existing groups instead of having access set up from scratch for each person.
Examples of GBAC
GBAC works well wherever people with the same job need the same access:
- Engineering. Members of the Engineering group can reach development servers and code repositories. People outside of the group can't.
- Finance. Members of the Finance group can access accounting and payroll systems, which are closed to everyone else.
- Contractors. A Contractors group gives outside workers access only to the project systems they support. Removing someone from the group ends that access when the contract ends.
Group membership gives everyone in a group the same access. When access needs to depend on more than group membership, such as limiting someone to only the records they own, finer-grained tools like attribute-based access control or relationship-based access control can help.
How to set up GBAC
Setting up GBAC takes four steps:
- Create groups. Create groups such as "Admins," "Marketing" and "IT."
- Assign access to each group. Give each group the access it needs. Admins get administrative access to the systems they manage, Marketing gets access to promotional material and IT gets access to technical systems.
- Add people to the right groups. Each person joins the groups that match their roles, and they get that group's access right away. When their role changes, they move to a different group.
- Review group membership regularly. Check who belongs in each group so people don't keep access they no longer need.
More resources
Blogs
The Access Control Paradigm: Unpacking ABAC, PBAC & RBAC
Fine-grained vs. coarse-grained access control
Glossary