Who is limited
- A member. The project owner limits a member to chosen screen folders and screens. The member signs in as before and sees and changes only their own screens.
- An agent. The owner limits an agent the same way. An agent also never reaches further than the person responsible for it: its reach is its own scope narrowed by that person's, so a limited person never acts through a wider agent.
- Never limited. The project owner and service clients of the whole project.
A limit is a scope. It is read on every request, never stored in a token or a session, so a change applies to the person's next request without signing in again. A caller with no scope works on the whole project and pays nothing for the check.
Folders and inheritance
Screen folders are the hierarchy. A scope that names a folder holds every screen in that folder and in every folder inside it, and it follows the folder when the folder moves.
Hotel
Lobby <- the lobby manager's scope holds Lobby and Bar
Bar
Casino Floor <- the floor manager's scope holds Casino Floor
Rooms
- A scope holds up to 1,000 folders and 200 single screens, and at least one of the two.
- A single screen can sit in any number of scopes, and so can a folder.
- Ids must name live folders and screens of the project when the scope is written. A folder or screen deleted later leaves an id that grants nothing.
- A member who approves reviews is limited to folders. Single screens are for members who do not approve.
- A person is either limited to screens or an uploader, never both: an uploader is limited to content, a limited member to screens.
Set a scope
The project owner, or an admin of the project's organization who is a member of it, sets, changes or ends a scope in the dashboard.
- Open the dashboard's Access page.
- Under People, open the member and use Screens. Check the folders, which include everything inside them, and add single screens if the member does not approve. Save.
- For an agent, open it under Agents and use the same Screens control.
- To limit a person before they join, add the scope to the invitation, in the dashboard or with
screenrig invitations create --email ADDRESS --screen-folder-id sfd_FOLDER.--screen-idadds single screens. - To limit the people a provisioned group brings, give its binding a scope; see SCIM groups.
Remove the scope in the same place to give the member the whole project again.
Setting a member's scope ends the agents that person brought to the project, so nothing keeps the wider reach it was given before. A scope is refused while the person, or an agent they brought, holds a live service client of the project: revoke each client the refusal names and set the scope again. Transferring the project to a member removes that member's scope.
A member invited with a scope joins as a member who cannot approve. The owner turns on Can approve for them on the same page when they should decide reviews for their folders.
Limiting people and agents to screen folders is an Enterprise feature, as are protected folders and reserved campaigns. A scope, protection or reservation that is set keeps applying, and ending one is open on every plan.
What a limited person does and sees
Inside the scope a limited person works as a member of the project does, in the dashboard, with the CLI and over the API:
- Screens. Read, health, plays, uptime, screenshots and live view, comments, commands such as reboot, clear cache, identify and update, tags, fields, location, name, playlist, playlist schedule, takeover, archive and delete.
- Folders. Create, rename, move and delete folders inside the scope, and set a folder's default playlist. The folder a scope names stays: only a person with a wider scope deletes it.
- Moves. A screen or folder moves from one place inside the scope to another. The source and the destination are both inside it.
- Campaigns. Create, change and delete a campaign whose whole audience is inside the scope.
- Fleet actions. Select screens by id or by folder inside the scope.
- New screens. A limited person who can approve pairs or provisions a screen into a folder of the scope. The new screen names its folder, so it lands inside the scope.
- Notes. Read and write the notes about their own screens, about playlists and about nothing.
Content (media, playlists, applications, cards, card data) stays governed by the member's role, exactly as for any member.
A limited person reaches no project administration: members, invitations, service clients, agent sign-ins, fleet links, billing, settings, webhooks, notifications, alerts, triggers, schedule imports and project-wide reports are refused. Each answers outside_screen_scope.
A campaign is editable only inside the scope
A campaign is listed to everyone, and a limited person edits it only when its whole audience is inside their scope. Otherwise editable is false and the campaign is read-only to them.
- A folder or screen in the scope is inside it.
- An
anyrule is inside when every child is. - An
allrule is inside when at least one child is, because it is an intersection. - A tag rule, and the rule for every screen, are never inside.
A limited person who cannot approve
A limited member who cannot approve reviews reads everything in the scope and runs commands, screenshots and comments, and changes what plays only through an approver. Assigning a playlist, schedules, takeovers, campaigns, folders and moves answer approver_required for them. A member without a scope is unchanged.
What is outside the scope
Screens outside the scope are hidden from every list: the screens list, a folder's screens, campaign screens, the calendar, events and the live stream. The folder tree shows the scope's folders and the folders above them, read-only and without a screen count, so the tree has a root. Their siblings are hidden.
A request that names a screen, folder, selector or audience outside the scope is refused whole and never narrowed: nothing is written. An id outside the scope and an id that does not exist get the same answer.
{
"status": 403,
"errors": [
{
"code": "outside_screen_scope",
"screen_scope": { "folder_ids": ["sfd_01LOBBY"], "screen_ids": [] },
"hint": "Ask the project owner to widen the scope, or leave this to a member of the whole project."
}
]
}
screen_scope names the caller's own scope, so the caller can tell what it may use. Playback records, the calendar and the Player log take a screen of the scope (the calendar also a folder). Project-wide health trend and daily uptime are refused; the per-screen health history and uptime are open.
Delegated administration
Give a venue manager their folders and let them run them:
- The owner limits the manager to the venue's folders.
- The owner turns on Can approve for the manager.
- The manager assigns playlists, schedules and campaigns in their folders directly, and decides the reviews that agents propose for those folders.
An approver who is limited decides only a review whose whole reach is inside their scope, and the Reviews page lists only those. A limited approver decides no ad creative review. A review that reaches a screen outside the scope answers outside_screen_scope.
Organization members, guests and admins
A person has at most one home organization. The people whose home it is are its members. In a project of any other organization a person is external, a guest, and the project's People list marks them. Membership of a project stays the only way into its content. GET /api/session reports a person's organization, and GET /api/members marks each guest with external.
- Become a member. An organization admin invites a person by email, and accepting makes that organization their home in place of any other. People at a verified domain of the organization are members, and so is anyone single sign-on or user provisioning manages. A person with no home who creates a project takes that project's organization as their home. Joining a project never changes a home.
- Remove a member. An admin removes a member from the organization. Their home is cleared and the project access an admin or an invitation gave them ends; access that user provisioning gives stays with provisioning. A removed person stays out, even at a verified domain, until a new invitation. The removal is refused while the person owns a project of the organization (
member_owns_projects): transfer it first. A person the organization's identity provider manages is removed there (managed_member), and an admin is removed after their admin seat ends (organization_admin_member).
Guest policy
An organization chooses whom it admits to its projects as guests, in Organization settings.
| Policy | Admits |
|---|---|
| Allow | Every guest. The default |
| Domains | A guest whose verified email address is at one of up to 20 listed domains |
| None | No guest |
The policy applies to people when they are added to a project: at an invitation, again at its acceptance, by a group binding and when an admin adds someone. Members and the organization's own admins are never refused. A refusal is guest_not_allowed. Tightening the policy removes nobody: the People page flags each guest it would not admit.
Library
An organization admin picks one project as the organization's Library in Organization settings (Premium, Education and Enterprise). Every other project of the organization then uses the Library's media, folders and playlists, read-only:
- Place its media on pages.
- Play a Library folder with a folder selector. Tag and all selectors use only the project's own media.
- Schedule its playlists and start playlists from its templates.
Only the Library's own members change them. You can't use a project that has screens as the Library, and screens can't be added to it once it is the Library (library_no_screens). Agents list the Library with screenrig media list --library, screenrig media folder list --library and screenrig playlist list --library.
What an organization admin does
An admin has authority over every project of the organization, and reads a project's content only after joining it.
- Join a project. The admin joins any project of the organization as an approver without a scope, also when they were already a limited member. It is recorded in the audit log and emails the project's owner. Joining again changes nothing.
- Change the owner. The admin makes a verified project member, or another member of the organization, the project's owner, also when the owner has left or is deactivated. An admin who has joined can make themself the owner. It is recorded, and the previous and new owner are emailed.
- Remove a project member. The admin removes any member who is not the owner or themself. It is recorded.
- Set access in bulk. Without joining, the admin sets many people's access to many of the organization's projects in one request: member (who cannot approve), approver or none. The changes apply together or not at all, and each project's owner is emailed once.
- Inside a project they are a member of, the admin has the owner's member controls over other people: remove members, set who can approve, set screen and upload scopes, transfer ownership, and bind SCIM groups.
Protected folders
A protected folder is for screens where no single person changes what plays. A person who can approve turns on Protected for a folder in the dashboard, and the protection covers every folder inside it. Agents and service clients never protect a folder, and an agent removes protection only as a proposal: screenrig screen folder update ID --unprotect becomes a review that a second approver decides. A limited approver protects folders inside their scope, not a folder their scope names. A change that reaches a screen in a protected folder becomes a review that a second approver decides, at every access level, Manage included.
An agent that assigns a playlist to a screen in a protected folder gets pending_review and the review. The screen keeps playing what it played until a second approver decides.
screenrig screen assign scr_01EXAMPLESCREEN000000000 --playlist-id pl_01WELCOME
screenrig reviews list --kind protected_change
screenrig reviews show rvw_01EXAMPLEREVIEW0000000000
What happens to a change depends on the change:
- A review. Assigning a playlist, setting or clearing a playlist schedule or a takeover, on one screen or a fleet, is a
screen_changereview. Creating, changing or deleting a campaign whose audience reaches a protected screen, creating a folder inside a protected folder, moving, deleting or setting the default playlist of a folder in or holding one, moving screens or folders into or out of one, and clearing protection are aprotected_changereview. The change is applied in the approving decision. A rename is live. - A refusal. Tag, field, location, timezone, wall and display setting edits, replacing a screen, deleting, archiving, suspending, display power and its schedule, a play page, a toast, ad inventory, trigger targets and schedule imports that reach a protected screen answer
protected_target. To make the change, an approver clears protection through a review, the change is made, and the folder is protected again. A trigger that fans out leaves protected screens as they are and counts them. - Open. Resuming, unarchiving, rebooting, reloading, identifying, maintenance and screenshots stay open.
A review waits for a person other than the proposer and other than the person responsible for the proposing agent or service client. The decision is refused with second_approver_required when the decider is the same person. When the project has only one approver, the refusal says to make another member an approver. A change proposed before its folder was protected meets the rule when it is approved. A review that has gone out of date while it waited answers review_stale; propose the change again.
A project with no protected folder pays nothing for the rule.
Reserved campaigns
A campaign marked Reserved is changed, paused, deleted or un-reserved only by a person who can approve reviews: the owner, or an approver whose scope holds the campaign's whole audience. A person turns on Reserved in the campaign's form in the dashboard. Agents and service clients never change a reserved campaign, at any access level, and their attempts answer reserved_item. Reserve the campaign that carries a brand's fixed schedule, and a manager or an agent cannot change it by accident.
Agents
A limited agent works with the CLI the way a limited member does in the dashboard.
screenrig agent status
screenrig screen list
screenrig screen folder list
screenrig screen pair "$PAIRING_CODE" --folder sfd_01LOBBY --name "Lobby entrance"
screenrig screen assign scr_01EXAMPLESCREEN000000000 --playlist-id pl_01WELCOME
screenrig screen folder update sfd_01LOBBY --unprotect
screenrig campaign show cmp_01EXAMPLECAMPAIGN0000000
agent statusshows the agent'sscreen_scopeand theperson_screen_scopeof the person responsible for it.screen listandscreen folder listhold only its screens and folders.screen pairtakes--folderand needs a folder of the scope.screen folder update ID --unprotectproposes removing a folder's protection, sent alone. It becomes a review that a second approver decides.campaign showprintseditableandreserved.- With no project selected,
screen listleaves out a project where the agent is limited. Select the project.
Refusals and how to fix them
Every refusal names the way back in its hint.
| Problem | Status | When | Fix |
|---|---|---|---|
outside_screen_scope | 403 | The screen, folder, selector, audience or route is outside the caller's scope | Use a screen or folder in screen_scope, or ask the project owner to widen the scope |
approver_required | 403 | A limited member who cannot approve changes what plays, or an agent, a service client or a person who cannot approve protects a folder | Ask an approver to make the change, or ask the owner to turn on Can approve |
protected_target | 409 | The change reaches a screen in a protected folder and has no review form | Ask an approver to clear protection through a review, make the change, protect the folder again |
second_approver_required | 403 | The person deciding a protected review is the proposer or answers for the proposing agent | Ask another approver, or ask the owner to let another member approve reviews |
reserved_item | 403 | A reserved campaign is changed by someone who cannot approve, or by an agent or service client | Ask an approver to make the change or clear the flag |
review_stale | 409 | The campaign, folder or screens a protected review was proposed against changed | Read them again and propose the change again |
resource_conflict | 409 | A scope is set on the owner, on an uploader, on an approver with single screens, or while a service client of the person holds | Follow the hint: end the other limit, remove single screens, or revoke the named service clients |
guest_not_allowed | 403 | An invitation, its acceptance or a group binding adds a guest the organization's guest policy does not admit | Ask an organization admin to change the guest policy, or invite an address it admits |
library_no_screens | 409 | A project with screens is made the Library, or a screen is added to the Library | Choose a project without screens as the Library, and pair screens to another project |
A protected change that is accepted answers 202 with status: pending_review and the review, the same answer a Propose agent gets. Follow it with screenrig reviews show ID.
Audit
Every change is an event in the project's log, written in the transaction that makes the change:
| Event | When |
|---|---|
project.member_screen_scope_changed | A member's scope is set, changed or ended |
agent.screen_scope_changed | An agent's scope is set, changed or ended |
screen.folder_protection_changed | A folder is protected or unprotected |
campaign.reserved_changed | A campaign is reserved or unreserved |
Reviews write the usual review.* events, and the approving person is the actor of what a review applies.
API
The owner's routes take the dashboard session.
| Route | What it does |
|---|---|
PUT and DELETE /api/members/{user_id}/screen-scope | Set or end a member's scope |
PUT and DELETE /api/agents/{id}/screen-scope | Set or end an agent's scope |
PATCH /api/screen-folders/{id} with protected | Protect a folder, sent alone |
POST /api/campaigns and PATCH /api/campaigns/{id} with reserved | Reserve a campaign |
The organization routes take an admin's dashboard session. Agents and bearer credentials have none.
| Route | What it does |
|---|---|
POST and GET /api/organizations/{org_id}/member-invitations | Invite members and list the invitations |
DELETE /api/organizations/{org_id}/members/{user_id} | Remove a member |
POST /api/organizations/{org_id}/project-access | Set many people's access to many projects at once |
PUT /api/organizations/{org_id}/guest-policy | Set the guest policy |
PUT /api/organizations/{org_id}/library | Set or clear the Library project |
POST /api/organizations/{org_id}/projects/{project_id}/access | Join a project |
PUT /api/organizations/{org_id}/projects/{project_id}/owner | Change a project's owner |
DELETE /api/organizations/{org_id}/projects/{project_id}/members/{user_id} | Remove a project member |
The API reference lists every request, answer and problem. The problems are in the problem types.