10 min read

Locking pages and tables in Coda

Prevent unexpected changes in tables and pages of your doc with table and page locking.

Locking is only available on a Team or Enterprise plan.
With Coda's locking options—available for entire pages and specific tables—Doc Makers can protect their work while keeping collaboration moving like a well-oiled machine. Locking makes using Coda easier by giving contributors the right level of access without the worry of details getting changed or deleted. In this guide, we'll introduce you to page and table locking and explain when and how to use these features in your Coda doc.
What's in this guide:
  • When to use locking.
  • Introduction to page and table locking.
  • When to use page locking vs. table locking.
  • An example scenario.
  • How locking interacts with sharing and roles.
  • Where to find the locking settings.

1. When to use locking.

Coda docs often store important information and data, leaving that data unprotected in the hands of your doc users can be risky. Sharing permissions aids in preventing unexpected changes, but using the view-only or commenting permissions may come at the cost of limiting interaction within your doc, which isn't ideal. Locking lets you get granular to provide guardrails to prevent unexpected changes, making it easier for users to interact with your doc. The guesswork is taken out for them: they know what they can and cannot do because of locking. Locking limits the edits that can be made when using Coda in your browser or on the mobile app; however, it does not limit every channel for engaging with a doc, such as through Coda's APIs, and should not be treated as a security feature. Benefits of locking:
  • Usability: Locking adds friction where needed. It makes it harder for users to edit or update things accidentally.
  • Scaling Coda: Many new users worry about breaking something in Coda. With locking guard rails in place, you can share information freely with less worry.
  • Protecting your table settings and data: Because column options, in addition to table data and entries, can be locked down via table locking, you'll prevent your users from changing formulas, column displays, or accidentally adding AI to a 10,000 row table. This will help keep your doc performing smoothly and your data presented in the way you intended.
  • Granular protection: Page locking can protect the rest of your doc and establish additional permissions beyond our basic sharing permissions.
    • Locking is not intended to be a permissions or security feature. Instead, it provides friction to hopefully prevent unwanted changes.

2. How does locking work?

We have two different levels of locking: page and table locking. Page locking applies to a specific page within a doc, while table locking prevents unexpected changes in tables and views across an entire doc. With page locking, you can adjust pages or the entire doc with these options:
  • Interact only: Toggle on and off the various activities editors should be able to perform without needing the ability to unlock the doc.
  • Read only: Users with read-only permissions cannot make changes to the page or see the formulas or other table settings.
  • You can also adjust settings to limit who can unlock the pages.
With table locking, Doc Makers can restrict managing columns and prevent collaborators from adding, deleting, or editing table data. This will keep tables and views locked, no matter what page the table is on. While page locking allows you to lock changes on table values and functions, it's limited to that specific page or doc. If views of that table exist across different pages in the doc, someone can still make changes and edits to it. That's where table locking comes in handy. With this feature, any restrictions you add to a table will apply to all views of that table throughout the entire doc. Ultimately, applying either the table locking or page locking feature will depend on the use case, such as the type of content or data you're sharing and who you're sharing it with. If you want to protect data in your table and how the table is configured, you will want to use table locking. For all other scenarios, you can use page locking.

What do users see?

When either locking is turned on, all users will see a small lock symbol either on the page or table that is locked, and their actions will be limited to the settings enabled. They can click on the locking symbol to unlock the doc to take actions that had previously been limited due to locking, or you can limit unlocking with doc admin(s). More on that below.
Not sure which one to use?
Reach out to Coda Support (support@coda.io) if you need help deciding which model is best for you.

3. An example scenario.

You've got a doc where you need interaction from your team in parts of the doc, but not all. Because of that, you set the sharing to 'edit' and decide to utilize page and table locking.
On this page:
  • Users should be able to click on a reaction.
  • Add their feedback to a row of a table.
  • Shouldn't edit the text within the doc or adjust the table and views that house all your launch plans.

Page locking:

We have page locking enabled to restrict all users to only be able to interact with the doc. They can use buttons, controls, and forms, and also add, edit, and delete rows that they have created.

Table locking:

Adding table locking on the launch plan table prevents anyone from adding content or editing it. But they could still use a filter bar, press buttons related to a table, or interact with table reactions.

Sample doc with both locking options visible

4. How locking interacts with sharing and roles.

What someone can do inside of a doc depends on a number of factors,
  1. Your role in Coda dictates what can be done in any doc within the workspace and if you can create docs/pages from scratch.
  2. What access you have to a specific doc or folder. No matter your role, if you aren’t granted view-only access to someone else's doc, even if you are a maker, the doc is essentially read-only.
  3. If locking has been turned on, even if you have editing access to a doc, you may not be able to take the full range of actions because the doc is locked.
  4. Page locking supersedes table locking. If a page is locked, everything on the page is locked, including any tables.

Factors that impact doc abilities

5. Where to find locking settings in a doc.

Page locking
To apply locking to a particular page, access the Settings panel at the top of your Coda doc. Select Page Locking to view options for managing the page, default settings, and unlocking. Learn more about locking pages within your doc through this Help article.
Table locking
To apply table locking, click the Options button on your table and select table locking. In this window, you'll be able to turn on locking the table and its views and customize it to allow collaborators to add/edit/delete rows they created, delete any rows, or edit any values. Learn about table locking in this Help article.
Unlocking
By default, anyone with Edit access can unlock a page or table by clicking on the small lock symbol. To limit unlocking abilities access to specific people, go to the control panel at the top of your Coda doc and select the Document settings icon. Select Page locking, then navigate to Unlocking, and add their name under Who can unlock. These are called doc admins. If the doc has been assigned doc admins, only these doc admins will be able to add or edit table locking.

Now what?

In a nutshell, Coda's locking features give you the power to keep your docs protected while still letting everyone collaborate effectively. Knowing when to use page or table locking helps you give the right access to your team, keeping your data intact and things running smoothly. Whether you're expanding your use of Coda or just want to protect important info, these locking tools offer the flexibility and peace of mind you need. If you need any help or have questions, feel free to contact Coda Support at support@coda.io.

Was this helpful?

YesNo