Users and roles

On this page

What it does: decides who signs in to Erlangly and what each can do. Admins invite people, and give each a role.

Use it when: you invite planners, supervisors or agents, change someone's access, or someone has forgotten their password.

You need

  • The admin role.
  • Email set up, so invitations and password resets reach people. Without it, you copy links and send them yourself.
  • Single sign-on, if your company signs in with its own accounts. It's optional: see Single sign-on.

You get

  • Sign-ins linked to people on the roster, so agents see their own schedule.
  • Four roles, from agent to admin.
  • Access that changes at once, and history that stays when someone stops signing in.

An agent's sign-in belongs to their person on the roster, so it shows their own schedule: see People and teams for the difference between people and users.

Invite people

Planners and supervisors:

  1. Settings → Users → Invite someone.
  2. Their name, email and role.
  3. Choose Invite.

Agents, from People, so their sign-in is linked to their person and shows their schedule. They need an email address on their page first.

  • One at a time: on their page, Invite their name to see their schedule.
  • Everyone at once: People → Invite to sign in invites everyone on the list with an email address who can't sign in yet. It needs email set up. Their invitations go out over the next few minutes, after other email, so a password reset or a published schedule isn't held up.

With email set up, people are emailed a link. Without it, copy the link from their page under Settings → Users and send it yourself. It works for 7 days, and their page always shows a fresh one.

With single sign-on, invite people the same way: they sign in with their company account, and once it's required, the invitation asks them to instead of choosing a password.

What agents see when they join: Your schedule.

Check before you invite

  • Agents come from People. An agent invited from Settings → Users instead isn't linked to anyone on the roster: their My schedule asks them to have you invite them from People.
  • Email addresses. Everyone you invite has the right one, on their page or in the invitation.
  • Roles. Each person gets the least they need: an agent who only sees their schedule, a supervisor who doesn't change forecasts.
  • Addresses already in use. An invitation links only to an agent account with nobody on the roster yet. Someone whose address belongs to a staff account, or to another person's sign-in, isn't linked: Erlangly says who and why.
  • Single sign-on. If it's on, you've signed in with it yourself before requiring it.

Roles

RoleCanGuide
AgentSee their own schedule, ask for time off and swaps.Agents
SupervisorEverything agents can, plus the wallboard and adherence, and deciding time off, swaps and exceptions. They see schedules, forecasts and people, without changing them.Supervisors
PlannerEverything supervisors can, plus forecasts, schedules, people and teams, and the settings for lines of business, shift patterns, labor rules, wallboard alarms and exception types.Planners
AdminEverything planners can, plus users, the organization, ACD connections, email, sign-in, backups, exports and the license.Administrators

Nobody decides their own time off, swaps or exceptions: another supervisor does. Planners, supervisors and admins who also take contacts can be on the roster too. They then get My schedule as well. An invitation links only to an agent account, so to connect someone staff to their person, make their account an agent under Settings → Users, invite them from their page on People, then give it its role back.

Change someone's access

Open them under Settings → Users to change their name, email or role.

ToDo
Stop someone signing inTurn off Can sign in. It signs them out everywhere, and their history stays. They show as Deactivated.
Handle a leaverRecord them as a leaver. When their leaving takes effect, Can sign in goes off, which signs them out everywhere, and their API tokens and AI assistants are revoked, for good, agents included. If they come back, cancel the leaving on their page, then turn Can sign in back on here. See People and teams.
Unlink someone's company accountFor someone told they're “already linked to a different … account” when they sign in with your provider: usually their company deleted their account and made it again, so it has a new user ID. Choose Unlink company account on their page. They link again the next time they sign in, by their verified email, and anything still signed in with the old account is signed out. The audit trail notes it. Unlinking an admin takes the code from your own app, if you use two-factor authentication, and every admin is emailed. See Single sign-on.

Limit someone to some clients

On an install that serves several clients, an admin can limit a planner or supervisor to the clients they work for. Everyone starts on All clients, including any added later, and nothing changes until you limit someone.

  1. Settings → Users → the person.
  2. Under Clients this person sees, choose Only these clients and tick theirs.
  3. Choose Save.
They thenHow
See their clients onlyTheir lines of business, schedules, forecasts, people and requests, the wallboard, Intraday and adherence, downloads and imports. Another client's page answers as if there were none. A shared person's shifts for another client, and overtime worked for it outside a shift, name that client and line of business.
See shared peopleSomeone who works for one of their clients too. Their shifts for another client show with that client and line of business, so you know whom to ask, but you can't open them.
Act only on their clients' daysThey decide, add and change time off and exceptions only for the days a person is on one of their clients' lines of business. Someone who's moved away shows for 90 days, and someone coming from the day their new line is added, but the days they aren't with those clients are only to read.
Read shared settingsSites, teams, pattern sets, labor rules and the like are every client's: only planners on All clients and admins change them.
Use the API and AI assistantsTheir tokens and assistants see what they see.
See one client as oneLimited to a single client, they get no client column or picker. A shared person's other shifts still name their client.

Admins always see every client, and agents see only their own schedule, so the field is only for planners and supervisors. The Clients column of Settings → Users shows who sees which clients. Changing someone's clients is in the audit trail. While anyone is limited, We serve several clients can't be turned off.

Forgotten passwords

WhenWhat to do
Email is set upAnyone can choose Forgot your password? on the sign-in page.
Single sign-on is requiredPeople have no Erlangly password to forget: they sign in with your provider (Single sign-on).
The email doesn't reach themOpen them under Settings → Users, choose Show the password reset link (not offered for someone who signs in with your company account, nor for your own: change yours under Your account), and send it to them. It works for 15 minutes, once, and the audit trail notes it was shown. Another admin's link takes the code from your own app, if you use two-factor authentication, and every admin is emailed.
You're locked out yourselfOn the server, erlangly reset-link EMAIL prints a link, and erlangly two-factor reset EMAIL resets your two-factor authentication if you've lost your phone too. See Running Erlangly.

A reset assumes someone else may have had the old password. Choosing a new one signs the person out everywhere, revokes their API tokens and disconnects their AI assistants, and, with email set up, emails them that it changed. They make new tokens and connect assistants again under Your account if they still need them.

Changing a password under Your account signs the person out everywhere else and, with email set up, emails them. If someone else may have known it, they tick Also revoke your API tokens and disconnect your AI assistants, or choose Forgot your password? on the sign-in page instead.

Changing someone's email address under Settings → Users emails their old address too, once they've signed in at least once (before that, the old one was most likely mistyped), saying what it changed to and who changed it, as their password resets go to the new one. An admin's address, your own included, takes the code from your app if you use two-factor authentication, and every admin is emailed.

Lost phones

Admins who sign in with a password, and everyone else if you've asked them, sign in with a code from an authenticator app too (Two-factor authentication).

WhenWhat to do
They've lost their phoneOn the code page, Use a recovery code instead: each of their recovery codes signs them in once. Then Your account → Manage two-factor authentication → Move to a new phone, with their password and a recovery code.
They've lost their phone and their recovery codesOpen them under Settings → Users and choose Reset their two-factor authentication, with a code from your own app (an admin without two-factor authentication set up can't: ask one who has it, or use the server). Their API tokens and AI assistants stop working too. They set it up again at their next sign-in. They and the other admins are emailed.
You're locked out yourselfOn the server, erlangly two-factor reset EMAIL. See Running Erlangly.

Common issues

You seeWhy, and what to do
An agent's My schedule asks them to be invited from PeopleThey were invited from Settings → Users, so their sign-in isn't linked to their person. Invite them from their page on People.
An invitation link no longer worksIt's older than 7 days. Their page under Settings → Users always shows a fresh one.
No invitation email arrivesEmail isn't set up, it couldn't be sent, or it went to spam. Settings → System names the last email that couldn't be sent in the last day, and who it was for. Copy the link from their page and send it yourself.
Someone can't approve their own time offBy design: another supervisor decides it.
Someone signing in with your provider is told they're “already linked to a different … account”Their company account was deleted and made again, so it has a new user ID. Choose Unlink company account on their page under Settings → Users. They link again the next time they sign in. See Single sign-on.
A script or AI assistant is refused after a password resetThe reset revoked its token or disconnected it. Make a new token, or connect the assistant again, under Your account.
Someone who came back can't sign inTheir sign-in ended when their leaving took effect. Cancel the leaving on their page, if it's still recorded, then turn on Can sign in here.

Terms used here

In the glossary: user, role, invitation and deactivated.

Next step

To let people sign in with their company account, see Single sign-on. For everything an admin looks after, see Administrators.