Module scopes
What Local, Department and Workspace scopes mean, how to change a module's scope, and how scope affects name rules.
Every module has a scope. The scope tells your team how widely a module is meant to be reused: in one document, across a department, or across the whole workspace.
There are three scopes: Local, Department and Workspace. You see a module's scope in the Inspector, in the library and in the Scope column of the Library page.
The three scopes#
| Scope | Meant for | Inspector description |
|---|---|---|
| Local | Content written for one document. It stays in its department. | Only this document |
| Department | Content the whole department reuses, such as standard clauses or a company overview. | Every {department} document |
| Workspace | Content every department can insert, such as legal boilerplate or brand text. | Every document in the workspace |
Local#
Use Local for content that belongs to a single document, such as a one-off introduction for a client. The module stays in its department's library. Local modules have the most relaxed naming rule (see below), which makes them convenient for drafts.
Department#
Use Department for content your department reuses in many documents. Marking a module as Department tells colleagues it's standard, approved content for the department.
Workspace#
Use Workspace for content that every department should be able to insert. Other departments can insert a Workspace module into their documents. To make it show up in their library, keep it in a folder shared with the whole workspace. See Organize with folders and tags.
Scope is about reuse only. Everyone in the workspace can open the modules and documents of every department, and department roles decide who can change them.
Change a module's scope#
- Open a document that uses the module.
- Select the module on the page. The Inspector opens on the right.
- Under Scope, click Local, Department or Workspace.
The change is saved right away and recorded in the module's Recent activity. You need to be a workspace admin or an editor of the module's department.
Narrowing and widening#
- Narrowing (Workspace to Department, or Department to Local) always applies immediately.
- Widening (Local to Department, or anything to Workspace) also applies immediately, unless your workspace requires admin approval for it.
When approval is required, the Workspace option shows a lock and reads Requires admin approval. If you aren't a workspace admin, choosing a wider scope sends a request instead of changing the scope. The requested option is marked as pending (for Workspace it reads Waiting for admin approval) until an admin decides. This applies to any widening, Local to Department included. See Approve scope changes.
From Module settings#
In the Library tab you can also right-click a module and choose Module settings. The Global module (visible to the whole department) switch moves a module between Local and Department. For Workspace, use the Inspector.
Default scope for new modules#
New modules start with the scope chosen in the workspace settings. A workspace admin can change it:
- Open the workspace switcher at the top of the sidebar and choose Workspace overview.
- Click Settings.
- Under Default lock mode for new modules, choose Local editable, Department-wide or Workspace-wide.
- Save.
The default applies to modules created from then on. Existing modules keep their scope.
Scope and module names#
Module names are unique regardless of capitalization, and the scope decides how far that rule reaches:
- Local: the name must be unique within its folder.
- Department and Workspace: the name must be unique across the whole workspace.
So widening a Local module can fail if another module in the workspace already has the same name. You'll see "A module with that name already exists in the workspace." Click Rename next to the message, give the module a distinct name, and change the scope again.