Sub topic 1
Who Can Comment, Edit, and See History
Every collaboration feature in Google Sheets depends on the role a person holds on the file. Before you comment, assign a task, or open version history, check what that person's role allows. Many "why can't I see this?" problems come from a role that is too low, not from a bug.
Prerequisites
This chapter assumes you have:
- A Google account and access to Google Sheets.
- Basic spreadsheet navigation: cells, ranges, and sheets.
- Some familiarity with the Share button and its dialog.
To follow the hands-on parts, use a spreadsheet you own and a second account (or a willing colleague) to test each role.
The four roles
Google Sheets assigns each person one role per file. The role controls what they can do in the file.
| Role | View cells | Comment | Edit cells and add notes | Open version history |
|---|---|---|---|---|
| Viewer | Yes | No | No | No |
| Commenter | Yes | Yes | No | No |
| Editor | Yes | Yes | Yes | Yes |
| Owner | Yes | Yes | Yes | Yes |
The roles are cumulative. Each role includes everything the role above it in the table allows, and the Owner is an Editor with extra powers.
Viewer
A viewer can open and read the spreadsheet. A viewer cannot type in cells, cannot leave comments, and cannot open version history. Viewers can still see comments that already exist on the file.
Commenter
A commenter can read the sheet and take part in discussions. They can start comment threads, reply to threads, and be assigned tasks. They cannot change cell contents, formulas, or formatting. Commenters also cannot open version history, so they see only the current state of the file.
Editor
An editor can change cell contents, add and remove sheets, create notes, and use every collaboration feature in this tutorial. Editors are the only role that can open version history, name versions, restore an earlier version, or inspect a single cell's edit history.
By default, editors can also change sharing settings and invite other people. The owner can turn this off in the Share dialog's settings (the gear icon), so that only the owner manages access.
Owner
The owner is the account that holds the file in its Drive. The owner has all editor abilities, and can transfer ownership and delete the file for everyone. A file has one owner. Ownership of a file in a shared drive belongs to the shared drive, and the shared drive's membership rules apply instead.
Why history needs edit access
Version history exposes who changed what and what an earlier state of the file contained. That can include figures that were later removed on purpose, such as a draft price or a deleted column. Google therefore ties version history to edit access. A person who can only comment or view gets the current state and the comments, but not the past.
This has a practical consequence for review. If you invite a stakeholder as a commenter, they cannot check what changed since their last visit. To give them that ability you would have to make them an editor, which also lets them change data. A common alternative is to name a version at each milestone and tell the stakeholder which milestone they last reviewed. You will see how naming works in a later chapter.
Where roles are set
You can grant a role in two ways.
- Named people. In the Share dialog, type an email address and choose Viewer, Commenter, or Editor. Each person gets their own role.
- Link sharing. Under General access, choose Anyone with the link and set one role that applies to everyone who opens the link. The same dialog lets you keep access restricted to named people.
If a person has both a named role and link access, they get the higher of the two. Removing the named entry does not remove their link access. When someone reports they still can open the file after you removed them, check the link setting first.
Roles and mentions
Chapters later in this tutorial cover @mentions and assigned tasks in detail. Their link to roles matters now, because it decides who can be reached.
- A comment, mention, or assignment can only reach someone who can open the file.
- When you mention or assign someone who has no access, Sheets shows a prompt asking whether to share the file with them. The prompt lets you choose the role to grant. Pick it deliberately. If you only want the person to respond to a question, Commenter is enough and keeps the data safe from accidental edits.
- Someone who has Viewer access cannot be given a useful task. They can read the assignment but cannot reply to it. If you need their response, raise them to Commenter.
If you dismiss the prompt without sharing, the comment is still posted, but the person does not receive access. Treat that as an incomplete handoff.
Protected ranges and sheets
Protection narrows what editors can change. You can protect a range or an entire sheet and then restrict it to yourself or to a chosen set of editors. Protection works on top of the role system:
- It restricts editing only. Anyone with comment access can still comment on a protected cell.
- It never raises anyone's role. A commenter on a protected sheet is still a commenter.
- The owner and the people allowed by the protection rule can still edit the protected range.
Use protection when several editors need access to the file but a few cells, such as a totals row or a lookup table, should stay stable.
Checking who has access
The Share dialog lists every named person and their role. It is the authoritative view, so use it before you rely on a mention or a task.
You can also list access with Apps Script. The following function logs the owner, editors, and the combined list of viewers and commenters. getViewers() returns viewers and commenters together, so it cannot tell the two apart.
function logAccess() {
const file = DriveApp.getFileById(SpreadsheetApp.getActive().getId());
const owner = file.getOwner();
Logger.log('Owner: ' + (owner ? owner.getEmail() : 'shared drive'));
file.getEditors().forEach(function (user) {
Logger.log('Editor: ' + user.getEmail());
});
file.getViewers().forEach(function (user) {
Logger.log('Viewer or commenter: ' + user.getEmail());
});
}The first run asks you to authorize access to Drive. This script is optional here. To see the role of each person with certainty, use the Share dialog.
Common errors
- "I can't see the comment button." The person is probably a viewer. Raise them to Commenter.
- "I can't find Version history." The person is probably a commenter or viewer. The menu entry under File appears only for editors.
- "My colleague was mentioned but never answered." The mention may have been posted without sharing the file. Open the Share dialog and check.
- "I removed someone, but they still open the file." Link sharing may still be on, or they may belong to a group that has access.
- "The editor can't change a cell." Look for a protected range on that cell.
Summary of decisions
- Use Viewer for people who only read.
- Use Commenter for reviewers who give feedback and receive tasks but should not change data.
- Use Editor for people who change the data or who must read version history.
- Keep the Owner role with the person or drive responsible for the file's life cycle.
Exercise
A finance manager must review a budget sheet, leave questions on specific cells, and be assigned follow-up tasks. She must not be able to change any numbers. She also asks to see what changed since last week. Which role do you give her, and how do you meet the last request?
Show answer
Give her the Commenter role. It lets her comment and receive assigned tasks without editing cells. Commenters cannot open version history, so meet the last request another way. Name a version at last week's milestone and tell her what changed in your comments or in a short summary. Granting Editor would give her the history view but would also let her change numbers, which breaks the requirement.