---
title: "BarrierSystems"
description: "BarrierSystems integrates Cerbos into smart vehicle access gates, cutting internal costs by 15%"
customer: "BarrierSystems"
website: "https://www.barriersystems.de/"
canonical: "https://www.cerbos.dev/customers/barriersystems"
image: "/assets/success-story-images/meta-images/barriersystems-success-story.png"
source: "https://www.cerbos.dev/customers/barriersystems"
---

# BarrierSystems integrates Cerbos into smart vehicle access gates, cutting internal costs by 15%

Using Cerbos to manage access policies, BarrierSystems was able to improve user experience and simplify their own policy management workflows to enable consistent and reliable access control for their customers.

## At a glance

- 75% fewer support tickets related to authZ
- Faster time to market with new features
- Improved scalability

> Our existing structure was inconsistent, making it difficult to track and manage permissions across diverse customer needs. We needed a system that offered both clarity and scalability.
>
> — Aaron Maier, Lead Software Developer at BarrierSystems

### Summary
BarrierSystems is a software product that turns physical gate mechanisms into smart gates. By adding one of their sensor devices to the gate, any controlled entry point can be equipped with automatic vehicle screening and authorization, based on pre-defined authorization rules. BarrierSystems used Cerbos to externalize authorization for easier policy management, achieving a 15% decrease in customer issues, and decreasing associated internal costs by 15% as a result.

[Watch the video](https://www.youtube.com/watch?v=iEi-8bPI9kM)

## Introduction

BarrierSystems is a “smart access management solution” for restricted traffic areas in corporate complexes and cities. Their sensor devices recognize vehicle license plates and models, and their web-based software application is used to grant or deny each vehicle access to the controlled area. The software shows the state of all barriers at any given time. Access policies can be programmed to each physical barrier, as well as managed centrally. 

“Cities in Germany and Switzerland have been implementing smart barriers as part of their counter-terrorism initiatives.”, Aaron explains, “They can use our software to restrict access to protected areas to only official vehicles.” 

Different authorization policies are required for the people using and managing the software versus the ones who are controlling the barriers. Corporate security officers at either gate stations and central offices can control access to their private parking garages, and restrict access to loading bays to only pre-approved vehicles. But a gate officer for a restricted area may only need access to one gate, and the gate access policies for the entire city or area should be managed from a central security hub for consistency and observability. 

BarrierSystems has developed organically according to customer needs. New rules and attributes were added over time to their policies until one day the team realized it had become extremely complicated to manage. 

“The scope of this whole thing has expanded over the years because certain customers wanted to have changes in how a role functioned, and they wanted to give certain users permissions, which they usually didn't have in their role. So we were constantly looking for more flexibility in our solution,” said Rafael Morales, ex-Software Engineering Team Lead for BarrierSystems. 

## Business needs

- RBAC and ABAC for their claims-based authorization system
- Clear documentation of authorization policies
- Ability to work across the front end and back end

Rafael and Aaron wanted to offer their customers more flexibility in their access policies, and to do that they needed a better way to manage complexity within the security requirements of an access control system. They needed better documentation of their policies and easier management of policy implementation in their software and across each of their client instances. 

One key aspect of their policy logic they needed to accommodate was their “claims” system. “Claims are basically rules that we define in our systems that enable or disable certain privileges for a user. Control over a barrier is one. Allowing users to add permissions that are longer than a specific set of days is another,” explains Aaron. “If a user wants to add a permission that is enabled for a year, then they have to have a specific claim. Otherwise, they would be restricted to permissions that are enabled for hours or days.” 

For BarrierSystems’ customers, access policies are always temporary by default, and location-specific. A vehicle is only allowed to enter during certain time periods, gate officers are only allowed control over the gate during their shift. And admins shouldn’t just be given blanket access to open and close gates just because they are an admin.

In addition to the claims, BarrierSystems also use role-based access control (RBAC). And keeping policies organized and consistent across their front and back end was an ever-growing challenge.

> It was very hard to have an actual overview of which claims allow you to do certain tasks or what tasks are restricted by certain claims. And you'd have to go through the code in the front end and the back end, which usually wasn't consistent, just to figure out why a certain user can’t press a button.
>
> — Aaron Maier, Lead Software Developer at BarrierSystems

### Evaluation
<p>As they began to experiment with Cerbos and integrate it into their systems, Aaron and Rafael found the Cerbos policy structure and testing features to be a welcome improvement on their previous testing process.</p>
<p>“Having the same policy file that is used for the actual authorization also be useful for documenting what permissions are allowed in what circumstances greatly simplified our workflow,” said Aaron. “And we had certain tests before that made sure the basic functionality is working, but Cerbos gave us the ability to test more specific things, like if a button is visible for a certain user.”</p>
<p>They also were happy to find that switching their policy management over fully to Cerbos created zero issues for their customers. Aaron and Rafael expected to run into the usual dangers that come with restructuring something in the back end, but in the process of implementing Cerbos, nothing broke, and they received not one customer complaint.</p>
<div class="w-full flex items-center justify-start"> <a href="https://www.cerbos.dev/features-benefits-and-use-cases/testable-authorization" style="background: #1B1C1E; color: white; text-decoration: none;" class="flex h-10 w-fit items-center justify-center gap-2 rounded-full px-4 font-medium text-white"> Learn more about policy testing with Cerbos <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fillRule="evenodd" clipRule="evenodd" d="M10.244 4.41075C10.5694 4.08531 11.0971 4.08531 11.4225 4.41075L16.4225 9.41075C16.7479 9.73619 16.7479 10.2638 16.4225 10.5893L11.4225 15.5893C11.0971 15.9147 10.5694 15.9147 10.244 15.5893C9.91856 15.2638 9.91856 14.7362 10.244 14.4107L13.8214 10.8333H4.16659C3.70635 10.8333 3.33325 10.4602 3.33325 10C3.33325 9.53977 3.70635 9.16667 4.16659 9.16667H13.8214L10.244 5.58926C9.91856 5.26382 9.91856 4.73619 10.244 4.41075Z" fill="#FFFFFF" /> </svg> </a> </div>

## Results

- 75% fewer support tickets related to authorization
- Faster time to market with new features
- Improved scalability

Once Cerbos was implemented, BarrierSystems noticed they received fewer support tickets from customers with permissions issues. The improved clarity and consistency of policies between the front end and the back end eliminated one of their most common user experience hitches. “No news is good news, especially in regards to physical security,” said Rafael.

BarrierSystems is now more confidently able to accommodate customer requests for special claims in their access policies. They are releasing new updates faster because their testing process has become easier and faster with Cerbos’s built-in policy testing features. Seeing simulated API calls that show the authorization decisions made according to each policy, BarrierSystems can ensure all policy changes are secure and compliant with customer requirements.

“ Whenever a new feature is requested by a customer I can just add a simple rule for that exact use case and I don't have to add 20 checks all over the place in the code. I can add the rule and test it to be sure it’s working as intended. It's made the process of manipulating the existing system a lot easier,” said Aaron.

The Cerbos audit logs have also helped BarrierSystems reduce time spent investigating issues. Aaron explains,  ”A year ago, I had to go into the actual code of the software version that was deployed for the customer and had to check in the specific component and try to trigger actions to figure out why a customer wasn’t able to take action or see a button. And now I can just check our audit logs and policy files and do it that way, which is a lot easier.”

In the near future, BarrierSystems plans to scale the Cerbos implementation to support a more sophisticated multi-tenant client setup—something that would have taken over a month of additional development time using their legacy system. While multi-tenancy was possible before, Cerbos has made the implementation faster, more flexible, and easier to maintain—unlocking scalability improvements that position BarrierSystems to support more complex customer needs without increasing engineering overhead.

#### Related links

- <a href="https://www.barriersystems.de/">Learn more about BarrierSystems</a>
- <a href="https://www.cerbos.dev/features-benefits-and-use-cases/multi-tenant-saas">Learn more about Cerbos for multi-tenant systems</a>
