When you and your team first come onboard to Split you'll likely wonder:
- How should we organize and group our users?
- What kind of permissions should we give users and groups to provide the right level of accessibility and control?
- How should we utilize workspaces and environments for our application(s)?
Recommendations will differ for every company based on how your teams are structured and existing workflows. Below is a simple example of organizing your team within Split.
Roles and Organization
There are four main ways to think about organizing users that will impact how you approach setup:
- Administrators: By default, Split creates an Administrators group and whoever initially sets up the Organization is a member of that group. That user can be removed as long as there is at least one admin. Admins have the power to do everything within an organization. As a result, you want to be thoughtful about who is a member of this group, keeping it to a limited number of individuals. Admins can manage users and groups, security, experimental settings, Workspaces, Traffic Tyes, Environments, API keys, Event Types, Integrations and can monitor usage. They have full edit rights to all objects in all Environments.
- Users: A user is one named login using an email address, often called a "seat". An email address can only be used for one Organization.
- Groups: Users can belong to one or more Groups. You might have groups such as "QA", "Product Managers", "Front End", "Search Team", "Developers", etc. Groups are useful to help manage edit rights and organize splits. Once users are placed in a group you can give that group edit permissions at either the Environment or Object level.
- Owners: Objects can be owned by one or more individual users or groups. Admins, by default, have ownership rights for all Objects. Current owners of an object can add other owners.
Below is an overview of the default structure of users, environments, workspaces, and objects within your Split organization. From here, you can organize and customize how you would like to structure
Typically, you'll use multiple Workspaces if you have multiple applications and the splits do not have any dependencies or share the same Traffic Types or Environments. Every Workspace has separate Environments, API keys, and Traffic Types. Events are sent to Environments, which means they will only visible in that Workspace (you can send an event to multiple Environments).
While users can navigate between Workspaces, you can use Environment permissions to restrict edit rights, if needed.
You can set edit rights on an Object or for an Environment. Permissions are assigned to either individuals or groups. This allows the appropriate group to have the right level of accessibility while maintaining compliance with security requirements. A common pattern using Staging and Production:
Staging: no environment level permissions are set. This means that, by default, any user can edit any object. An owner of the object (or admin) can click on the Permissions toggle to set permissions for that object to on. If that happens, only owners and admins can edit the object. An owner or admin can add additional editors by either adding a user or group as an owner or as an editor. Editors can also be removed.
Production: An Administrator can set Environment-level permissions, which is not unusual for production environments. For example, they may want to give only Engineering Managers, Senior PMs, and DevOps the ability to edit a production split. In that case, when setting up the Environment they'd give edit rights to those groups and/or individuals. Again, anyone with edit permissions can add additional editors, if appropriate. In the case below, we have two groups, in addition to Administrators, and one individual who have permssions. You'll note that the Permissions toggle cannot be turned off.
Whether or not you choose Environment-level permissions is dependent on if you want the default behavior to be 1) anyone can edit with the option to restrict an object or 2) only specific people can edit with the ability to open up an object to others.