Someone whose role has Team-scoped user data access sees the people who report to them. Visibility rules let them see more people as well: everyone at a location, in a company or department, with a job title, in a user group, or with a particular custom field value. A practice manager can see their whole practice without managing everyone in it, and an IT lead can see IT staff at every site.
A visibility rule set changes who someone can see, never what they can do. Their role still decides that. Seeing someone doesn’t make you their manager either: approvals, one-to-ones, the reminder summaries sent with Notify manager, and the Manager list all stay with each person’s own manager.
Who can hold visibility rules, and who can set them
Section titled “Who can hold visibility rules, and who can set them”Anyone whose role has Team-scoped user data access can hold visibility rule sets. That’s the built-in Manager role, and any custom role with it ticked. They see the people who report to them and everyone their rule sets match, together:
| They have | They see |
|---|---|
| People who report to them, no rule set | The people who report to them, as before |
| People who report to them, and rule sets | Those people, and everyone the rule sets match |
| Nobody reporting to them, and a rule set | Everyone the rule set matches |
| Several rule sets | Everyone any of them matches |
Instructor and Learner don’t have Team-scoped user data access, and built-in roles can’t be changed, so give someone like that a custom role first. See An instructor who should see one practice. Someone with Organisation-wide user data access, such as an Admin, already sees everyone, and a rule set can’t limit them.
If someone’s role changes to one without Team-scoped user data access, their rule sets stay on their record and do nothing. They work again if the person goes back to a role that has it.
Creating, changing, deleting and giving out rule sets needs Manage visibility rules. New accounts give it to the Admin role. It works only on a role that also has Organisation-wide user data access, because the editor names people from across the whole organisation. The role editor won’t save a role that has it alongside Team-scoped user data access, and says why. Nobody can change their own visibility rules.
How a rule set decides who someone sees
Section titled “How a rule set decides who someone sees”A rule set is built from parts, each a list of lines. There is no AND or OR switch: the words on the buttons are the logic.
- Can see people who are holds the first part. Each line in a part has a Condition, such as Department, and the values it matches, such as IT. A line can name several values, and matching any one of them is enough: “Practice 4 or Practice 5”.
- And also… adds a line to the same part. A person must match every line in a part.
- Or also include… adds another part. Matching any one part is enough.
- Except anyone who is removes people. Add exception adds a line there, and matching any one of them takes the person out, whichever part they matched.
- Everyone in the organisation is the choice for someone who should see everybody, as they join and leave. Except anyone who is still applies. A rule set with no lines at all can’t be saved, so nobody gets everyone by leaving it empty.
Location, company, department and job title must all be true of the same job. “IT at Practice 2” doesn’t match someone who works in IT at Practice 1 and on reception at Practice 2. Someone who holds two jobs matches through either one. User groups and custom fields are about the person, not a job, so they count whichever job matched.
A rule set keeps itself up to date. Someone who joins, moves or changes job is added or removed straight away, without anyone editing the rule set. Archived people stay visible to whoever could see them, just as they do through a reporting line.
A rule set can only use a custom field that people can’t edit about themselves, so nobody can move themselves into or out of someone’s view. See Fields that decide who sees whom.
Creating a rule set
Section titled “Creating a rule set”-
Choose Admin, then Access and Visibility rules. The page is just below Roles & permissions. Each rule set is listed with Can see, its sentence, Today, how many people it matches, such as “61 people, was 58 last week”, and Held by, which reads Nobody yet until someone holds it. If the page shows Visibility rules could not be loaded, choose Try again.
-
Choose Add rule set, and give it a Name, such as “IT, except Practice 4 and 5”. Names are up to 150 characters, and no two rule sets can share one. A Description is optional.
-
Under Can see people who are, Who this rule set can see offers People who match these lines or Everyone in the organisation. For lines, choose the Condition for the first line, such as Department, and pick its values. Remove line takes a line out.
-
Add more lines with And also…, more parts with Or also include…, and anyone to leave out with Add exception under Except anyone who is.
While you build, the top of the drawer shows the rule set as one sentence and how many people it matches today, such as “Everyone whose department is IT, except anyone whose location is Practice 4 or Practice 5. 61 people today”, and both update as you go. A warning appears beside any part that matches nobody today, matches more than half the organisation, or adds nobody because another part already matches everyone in it, and beside any exception that takes out nobody today.
-
Choose See who this matches. The second step, Who this rule set matches, shows exactly who that is:
- first, From now on: who will be added and removed later, as people join, move and leave
- how many people that is today, with each person’s Name (works ID), Job and Why they’re included, such as the job that matched. Search the people matched finds someone in the list; Nobody matches today. means the rule set matches no one yet
- while you change a saved rule set, The difference beside the count, such as “Adds 25 people” or “Removes 3 people”, against the saved version. Turn on Show only the difference to list just those people, in name order and searchable like the full list, each with their Job and marked Added or Removed in the Change column. For someone removed, the job is the one that matched the saved version
-
To see why someone is in or out, pick them under Check a name. The answer is Included, with the job that matched, Not included, with the jobs they hold, or Removed by Except, with the line that removed them. While you change a saved rule set, someone it includes today whom your change leaves out is Being removed, and someone your change brings in is Being added: nothing changes for them until you save. Their jobs lists each job they hold, and their main job is marked Primary.
-
To change anything, choose Back. When it’s right, choose Review and save. The third step is the review: see Checking a change in the review step.
A line can name up to 500 values, and a rule set can have up to 20 parts.
Making a rule set for each location, company or department
Section titled “Making a rule set for each location, company or department”Create a rule set for each…, then Location, Company or Department, makes one rule set for each of them in one go, named after it and matching everyone there. It lists every rule set it will make under Rule sets to create, with its sentence and count, before anything is saved. Nobody holds the new rule sets yet, so nobody’s view changes until you give them to people. A location, company or department that already has a rule set of the same name is left out, so running it again only adds the ones you’ve created since.
Checking a change in the review step
Section titled “Checking a change in the review step”Every change that alters who someone can see stops at a review first. When you save a rule set it is the editor’s third step, Review before saving, which also shows how many people the rule set matches today under Matches today. Deleting a rule set shows the same review inside the delete dialog, and giving rule sets to people or taking them away opens Review before changing. It names each person affected, how many people they will see, and how many they gain and lose, such as “will see 61 people” and “+12, −3”. See names lists who they gain and lose, under Gains and Loses, up to 200 of each. Someone whose role has no team visibility, or sees everyone, is listed with a line saying the change makes no difference to them.
Choose Confirm and save (Delete rule set, Delete and move or Confirm for the others) to go ahead. Back returns to the editor to change it; in the other dialogs, Cancel changes nothing.
If anything has changed since the review was drawn up, for example someone joined IT a moment ago, confirming is refused with “Who this changes has moved on since you reviewed it. Review it again before confirming.” Look at the review again and confirm. That way nobody confirms counts that are out of date.
The confirmed change, with the sentence and the numbers gained and lost, is recorded in the audit log. See Reading the audit log.
Giving rule sets to people
Section titled “Giving rule sets to people”For one person, open them from Admin, People and Users and choose Edit. On Basic information, directly under Role, the Can see field lists the rule sets they hold and how many people they can see today. Choose the rule sets they should have, then Update user. Before anything is saved, Review before changing opens in the same window: it says how many more people they will be able to see, counting only people they couldn’t already see through their reporting line or another rule set, and See names lists them in name order. Confirm and update saves the rule sets with the rest of their details; Back returns to the form without saving.
If you’re changing their Role at the same time, for example from Admin to Manager, the review waits until their new role is saved, so it shows who they’ll see with the new role: Update user saves their details first, then Review before changing opens. Confirm gives them the rule sets; Skip for now keeps the new role and leaves their rule sets as they were.
Can see appears only on someone whose role has Team-scoped user data access, only to people who can manage visibility rules, and only once your organisation has at least one rule set. Until then there’s nothing to choose, so the field doesn’t appear.
For several people, tick them on the Users page, choose Bulk actions, then More actions and Set visibility rules. Choose the rule sets and Review. The review shows one line per person.
Set visibility rules gives everyone you ticked exactly the rule sets you choose. Any rule set they held that you don’t choose is taken away from them, and choosing none takes every rule set away. To add one rule set without touching the others, give it person by person.
What the person sees and is told
Section titled “What the person sees and is told”The person is told whenever a rule set is given to them, changed or taken away, or is deleted: in the bell, by email, and in the Learnient app. The message names the rule set and who made the change, and gives the sentence and how many people they can see through it. It opens the Users tab of Briefing, which lists the people they can see; in the app it opens that page on the website.
From then on, everywhere that shows people uses their new team: people lists, reports, Briefing, course reports, worklists, CPD, Lenni’s figures and connected AI apps. See How roles and visibility work.
When a rule set needs attention
Section titled “When a rule set needs attention”Each rule set on the Visibility rules page shows how many people it matches Today and how many it matched a week ago. Everyone who can manage visibility rules is told, in the bell and by email, when a rule set’s matches grow or shrink by more than 20% and by at least 10 people from one day to the next without anyone editing it. A large HR change usually explains it, but check the rule set still matches who you expect.
A rule set that names a location, company, department, job title, group or custom field that has since been archived or deleted is marked Needs attention. That line matches nobody, so its holders lose the people it used to match, and everyone who can manage visibility rules is told. Edit the rule set to remove what no longer exists, then save: a rule set that names something archived can’t be saved.
Changing or deleting a rule set
Section titled “Changing or deleting a rule set”Open the rule set’s menu on the Visibility rules page, choose Edit, and change it in Edit rule set as when you created it. The review names everyone who holds it, with what they gain and lose, and each of them is told once you confirm.
To delete a rule set, open its menu and choose Delete. It works the way deleting a role does: a rule set that people hold can only be deleted by moving them to another one, because Nobody can be left holding a deleted rule set.
- Nobody holds it. The dialog shows the review, and Delete rule set deletes it.
- People hold it. The dialog shows People who hold this rule set. Choose another rule set under Move them to, and the review below lists what each of them gains and loses. Delete and move gives them that rule set, deletes this one and tells them both.
- People hold it and there’s no other rule set. The rule set can’t be deleted yet. Take it away from them first, in each person’s Can see field or with Set visibility rules on the Users page, then delete it.
People they also see through their reporting line or another rule set stay visible.
Example: a group of 40 GP practices
Section titled “Example: a group of 40 GP practices”A federation of 40 GP practices, each set up in Learnient as a location, wants head office to see all 2,000 people, each practice manager to see their own practice, one manager to see two practices, and the IT lead to see IT staff in every practice except two.
| Person | Role | Rule sets on Can see |
|---|---|---|
| Head office | Admin, or a custom role with Organisation-wide user data access | None needed: they see everyone |
| Practice 1’s manager | Manager, or a custom role with Team-scoped user data access | “Practice 1” |
| The manager of Practice 2 and Practice 3 | Manager | “Practice 2” and “Practice 3” |
| The IT lead | Manager | “IT, except Practice 4 and 5” |
- On Visibility rules, choose Create a rule set for each…, then Location. Check the 40 rule sets it lists and confirm. Each one, such as “Practice 1”, matches everyone at that practice.
- Give each practice manager their practice’s rule set on their Can see field. Every practice manager can share the Manager role: what differs is their rule set.
- Give the manager of Practice 2 and Practice 3 both rule sets.
- Choose Add rule set for the IT lead. Under Can see people who are, choose Department and IT. Under Except anyone who is, choose Add exception, then Location with Practice 4 and Practice 5. The sentence reads “Everyone whose department is IT, except anyone whose location is Practice 4 or Practice 5.” Save it and give it to the IT lead.
Someone who works in IT at Practice 3 and also at Practice 4 stays visible to the IT lead, through their Practice 3 job. Check a name shows them as Included, with their Practice 3 job as the reason.
Example: an instructor who should see one practice
Section titled “Example: an instructor who should see one practice”An instructor who builds courses for everyone, and should also follow the people at Practice 10:
- Build a custom role with the Instructor permissions and Team-scoped user data access. Giving someone both manager and instructor access is the same recipe.
- Give the person that role.
- Give them the “Practice 10” rule set on their Can see field. Nobody needs to report to them.
Their course reports then count Practice 10 only. The built-in Instructor role sees course figures for the whole organisation, but a role with Team-scoped user data access sees course figures for the people it can see.
Common questions about visibility rules
Section titled “Common questions about visibility rules”Does a visibility rule set make someone the manager of the people it matches?
Section titled “Does a visibility rule set make someone the manager of the people it matches?”No. It lets them see those people and report on them. Approvals, one-to-ones, the summaries sent with Notify manager, and being offered in the Manager list all stay with each person’s actual manager.
Can a practice manager also add departments or edit people?
Section titled “Can a practice manager also add departments or edit people?”Only if their role allows it. A rule set changes who they can see, never what they can do, so build a custom role with the extra permissions. Whatever their role lets them do to people, they can only do it to people they can see.
Why can’t I choose a custom field in the editor?
Section titled “Why can’t I choose a custom field in the editor?”People can edit that field about themselves, so it can’t decide who sees them. Stop people editing it first, in the field’s permissions, and it becomes available.
Can someone see their own visibility rules?
Section titled “Can someone see their own visibility rules?”They’re told each time a rule set is given to them, changed or taken away, with the rule set’s sentence and how many people they can see through it, and the Users tab of Briefing lists who they can see. Their rule sets themselves are shown only to people who can manage visibility rules, on the person’s Can see field, and nobody can change their own.

