Log InGet OrdStyle

Permissions

Permissions come in three sets, each answering a different question:

Set Question Set on
Document What may this person do to this document? The Server Files page, or Permissions on the File Navigator’s right-click menu
Folder What may they do in this folder? The Server Folders page, or the same File Navigator menu
Admin What may they do to the server? The Server Users page

Each is a set of independent switches, granted to a person, a group, or a list of people — and, for documents, to anyone who knows a password. Everything you can do is the union of what you have been granted directly, what your groups have been granted, and what the folder a document sits in grants on its documents.

The Server Files page takes Admin Access to Files and the Server Folders page Admin Access to Folders; the File Navigator’s menu goes by your permissions on that document or folder.

Who an entry is for

Every entry on a permission list has a type, which says who its switches go to:

Type The entry applies to
User One account, by user name
Group Everyone in a group
UserList Several accounts, named in one entry as a comma-separated list
Password Anyone who gives that password — see below
Disabled Nobody. The entry stays on the list but grants nothing

A new entry on the Server Files and Server Folders pages starts as Disabled, so it gives nobody anything until you choose its type and name. Setting an existing entry to Disabled switches it off without losing what it held. Password is for document lists only: a document’s own list, or a folder’s list of what its documents grant.

Document permissions

These are deliberately fine-grained, because “can edit” and “can comment” are genuinely different jobs.

Permission Value Lets you
View 1 Open and read the document
Edit 2 Change the text
View Comments 4 See comments and suggestions
Comment 8 Add comments and replies
Suggest 16 Propose edits
Moderate 32 Accept and reject suggestions
Admin Comments 64 Delete other people’s comments
View Chat 128 Read the document’s chat
Chat 256 Post to it
Admin Chat 512 Delete chat messages
View Style 1024 See the document’s style settings
Edit Style 2048 Change them
Admin Style 4096 Create, delete and rename style sets
Add Permission 8192 Grant this document’s permissions to others
Manage Versions 16384 Save and restore versions
Admin Document 32768 Everything, plus delete, move and rename the document

Whoever creates a document is given every permission on it.

Some grants imply others

You cannot end up in a nonsensical state — commenting on a document you cannot read, for instance. Granting a permission grants what it depends on:

  • Edit, View Comments, View Chat, View Style and Manage Versions each imply View.
  • Comment, Suggest and Moderate imply View Comments.
  • Admin Comments implies Comment.
  • Chat implies View Chat; Admin Chat implies Chat.
  • Edit Style implies View Style; Admin Style implies Edit Style.
  • Add Permission implies everything except Admin Document.
  • Admin Document implies everything.

Roles

A role is a combination of permissions — any combination you like. The common ones are named: the Role list at the top of the permissions checklist ticks a role’s boxes in one go, and a row whose boxes match a role exactly shows the role’s name. Change any box and it reads Custom. The phone app offers the same roles.

Role Grant (what these imply comes with them)
Reader View Comments, View Chat — reads the document and the conversation
Commenter Comment, Chat
Reviewer Comment, Chat, Suggest — can propose and discuss, cannot change the text
Writer Edit, Suggest, Comment, Chat
Designer Admin Style, Comment, Chat — can restyle without touching the words
Editor Writer, plus Moderate, Admin Comments, Admin Chat, Manage Versions
Owner Admin Document

The reviewer combination is worth noting. It gives somebody a read-only document with a live conversation in the margin: they may propose any edit they like, and somebody with Moderate decides what lands. See Comments & Suggestions.

Folder permissions

A folder carries two lists. Its folder permissions, below, govern the folder itself. Its document permissions use the document switches above and apply to every document directly in it — the ones there now and the ones added later — so a folder is where you set access once instead of document by document.

Permission Value Lets you
New File 1 Create documents in this folder
List Files 2 See what is in it
Admin Files 4 Manage every document in it
New Folder 8 Create sub-folders
Admin Folders 16 Manage sub-folders
Add File Access 32 Grant document permissions here
Modify File Access 64 Change or revoke them
Add Folder Access 128 Grant folder permissions here
Modify Folder Access 256 Change or revoke them
Upload Scripts 512 Add or change a Python script (.py) here

These imply each other in the same way: everything implies List Files, Admin Files and Upload Scripts imply New File, Admin Folders implies New Folder, and the access-granting permissions build on one another.

Upload Scripts is needed to upload a .py file to a folder, to save changes to one there, or to move one in — on its own or inside a folder being moved — because a script is something a document can run to draw a figure (see Python blocks). No role includes it, and nobody gets it by creating a folder or from their home folder: it comes from Admin Access to Folders, or from someone who already holds it there granting it on.

The top-level folder, /, is the exception to the access-granting permissions: only someone with Admin Access to Folders can change either of its lists.

Folders have roles too:

Role Grant
Browser List Files
Contributor New File, New Folder
Organizer Admin Files, Admin Folders — manage everything in it
Owner Organizer, plus Modify Folder Access — and decide who may use the folder

Admin permissions

These are server-wide, and are set per user on the Server Users page.

Permission Value Lets you
Manage Server 1 Restart the server, and set up its email account for invites
Add/Invite User 2 Create accounts and send invitations
Admin Users 4 Remove users, kick them, change their passwords and admin permissions
Create Group 8 Make groups
Admin Groups 16 Make, rename and remove groups, and choose their managers
Add Users to Groups 32 Add anyone to any group
Remove Users from Groups 64 Remove anyone from any group
Admin Access to Folders 128 All folder permissions, Upload Scripts included, on every folder — the top-level one too
Admin Access to Files 256 All document permissions, on every document

Each group can also name its own managers, who may add or remove its members without any of these — see Users & Groups.

511 is all nine — the value to use for the first account you create with --adduser.

Implications here: Admin Users implies Add/Invite User; Admin Groups implies Create Group, Add Users to Groups and Remove Users from Groups; Remove Users from Groups implies Add Users to Groups.

The Server Users page offers admin roles the same way, in both its users table and its invites table:

Role Grant
User None — access comes from documents, folders and groups
Inviter Add/Invite User
People manager Admin Users, Create Group, Admin Groups
Librarian Admin Access to Folders, Admin Access to Files
Server admin All nine

Three rules that govern everything

Nobody gives out more than they have

Whatever you grant, you must hold yourself. On a document you can give others only the permissions you have on it; on a folder, only the folder permissions you have there. An invitation or an account can be given only admin permissions you hold, and an invitation only groups you belong to or manage with Add Members — or any group, with Add Users to Groups or Admin Groups. Putting people in groups or taking them out follows each group’s managers and the two group permissions. And you can’t change, reset the password of, or remove an account or invitation that has anything you don’t: a part-time admin can’t strip a full one.

Adding access is not the same as changing it

On documents and folders, the “add” permissions only add. Add Permission lets somebody put new entries on a document’s list but not change or remove the ones already there; that takes Admin Document. On a folder, Add File Access and Add Folder Access add entries, and the matching Modify permissions change or revoke them.

Server-wide, changing an existing account’s admin permissions or password, or removing it, takes Admin Users. Add/Invite User alone can create accounts and invitations, within the rule above.

Changes take effect at once

Permissions are checked live, not at sign-in. If somebody’s edit permission on a document is revoked while they have it open, their editor becomes read-only immediately and tells them why. If view is revoked, they are disconnected. Nobody keeps working on a document they have lost access to.

Documents that are not .ord files

A server can hold images, plain text files and scripts alongside documents. These have no permission list of their own: the document permissions of the folder they sit in apply to them. View there lets you see and open one — and a picture a document shows is fetched the same way, so its readers need View in the picture’s folder. Text files are edited under an exclusive lock rather than merged — one person at a time — which takes Edit or Admin Document in the folder’s document permissions, or the folder’s Admin Files. Adding or changing a script also takes Upload Scripts there.

Password-protected documents and folders

A document’s permission list can also hold a Password entry: anybody who knows the password gets the switches set on that entry, whatever account they have. Opening the document asks for it. That is the mechanism behind local shares, which have no accounts at all — the share’s password is a Password entry on the localshare document on the Server Files page, and a share without one lets nobody else in.

A folder’s document permissions can hold one too, and then the password opens every document, picture and file in that folder, including ones added later, but not the folders inside it. Everyone who browses the folder above sees the folder, marked Locked, and going into it, or opening one of its documents from a link, asks for the password once. After that its documents open without asking until you quit the program, including after a reconnect. Changing or removing the password ends that for everyone who gave the old one.

People who already have access through their account, group or list are never asked.

Choosing Password as an entry’s type, in Settings or in the File Navigator’s Permissions dialog, asks for the password; the server keeps only a hash of it.

Next steps