Skip to content
LogoLogo

How the pieces fit

Imagine you're building a project tracker. People sign in, join a team, and create tasks. Some can manage the team; others can only work on its projects.

Your app owns the projects and tasks. SaaSLayer can handle the accounts and access checks around them.

You and your team configure the services behind your app. Your app's users sign in and use your app. A team owner and a member can have different permissions within the same app.

Customer Admins vs End Users

There are two different kinds of administration to keep in mind:

  • You run the app. You configure its services, choose sign-in methods and manage the deployment. The docs sometimes call you a Customer Admin.
  • Your users use the app. They sign in and work with its data. The docs call them End Users. One might be a team owner in your app; another might be a member with fewer permissions.

A team owner in your project tracker doesn't automatically get access to your AWS account or your SaaSLayer deployment settings. Those are separate jobs.

If you're building a small app on your own, you might do all the setup yourself. You don't need a separate person for every label.

Sign-in and permissions answer different questions

Users checks who someone is. For example, Maya signs in with her email and password. Your app receives a session that identifies her.

Permissions checks what she's allowed to do. For example, Maya can read projects in her team, but only the owner can invite more people.

Users verifies a person's identity during sign-in. Your backend verifies their session and checks Permissions before performing a restricted action.

Your backend must enforce access rules before reading or changing protected data. Hiding a button in the UI makes the app clearer, but the server still needs to reject requests the person isn't allowed to make.

Product concepts vs authorization concepts

Use the words that make sense in your app: team, workspace, shop or project. You then map those to the access model.

In a project trackerWhat it means for access
A teamA boundary around the people and data that belong together.
An owner or memberA role: a set of things someone is allowed to do.
A projectSomething your app protects with permission checks.
“Can Maya edit this task?”An access decision your backend makes before changing the task.

The Permissions guides explain the exact concepts and APIs when you're ready to implement those checks. You don't need to memorize them before adding sign-in.

A few terms you'll see later

TermPlain meaning
ServiceOne building block, such as Users or Permissions.
Deployment / instanceA running copy of the services for an app or environment.
CustomerYou or your company using SaaSLayer. Your app's own customers are a separate audience.
ConsoleWhere you manage your SaaSLayer setup.
Control planeThe SaaSLayer system that arranges deployments and updates. You use the CLI or console to work with it.
UI component / widgetA ready-made screen or part of a screen you put in your app.

Next, choose where the services run or start with Users.