How roles work
PlayFab uses a fine-grained permissions model with hundreds of individual permissions, so you can decide exactly what each person is allowed to do. Areas of Game Manager can be turned off entirely, set to read-only, or opened up for editing. A few examples of where this comes in handy:- A Customer Service rep can edit player profiles but never see revenue data.
- A Product Manager can view revenue dashboards but can’t upload multiplayer server builds.
- A Data Scientist can read every event and dashboard while having no write access anywhere.
Built-in roles and admin levels
Every studio comes with three predefined roles:- Title Admin: Full permissions for a given title
- Dashboard: Permission to view the title’s dashboard, and nothing else
- Commercial admin: Permission to view the title’s dashboard, edit settings, see Economy payouts, and manage product activation
- Studio Admin: Create titles, define and edit roles, and automatically have title admin rights on every title in the studio. You need to be a Studio Admin to create roles or assign them to users.
- Commercial admin: Have some control of the billing process of the studio, and automatically have commercial admin rights on every title in the studio.
Creating a role
- Sign in to PlayFab with your developer account.
- From My Studios and Titles, select the triple-dot (…) menu to the right of your studio and choose Roles.
- You’ll see the list of roles that already exist in your studio. Select New custom role to start a custom one.
- Under Role details, give the role a clear Role title. This is what you’ll pick from when assigning the role later, so make it descriptive (for example, Customer Support or Build Engineer).
- If this role should have unrestricted access to the title, check Title admin. This grants full permissions for the title and overrides the individual permission selections below.
Configuring permissions
The Configure permissions section is where you choose exactly what the role can do. Permissions are organized into groups such as Overview, Identity, Economy, and more, with a counter on each group (for example, Overview (0/7)) showing how many of its permissions are currently selected. Each permission offers one or more access levels:- Read: View the data or area
- Edit: Create and modify
- Delete: Remove
- Search: Filter the permission list to find a specific item.
- Toggle all permissions: Select or clear every permission at once.
- Set read only: Check just the Read boxes across the scope, leaving Edit/Delete off.
- Collapse all: Hide the contents of every group for a cleaner view.
Assigning roles to users
You can assign roles two ways: from a user, or from a role. From a user:- From My Studios and Titles, select the triple-dot (…) menu next to your studio and choose Users.
- Open the user you want to update, and select their roles per title. Because roles are scoped to a title, assign the role for each title where the user needs it.
- Save your changes.
