Skip to content

feat(drive): add commenter role to drive share#443

Closed
pavelzak wants to merge 1 commit intosteipete:mainfrom
pavelzak:feat/drive-share-commenter-role
Closed

feat(drive): add commenter role to drive share#443
pavelzak wants to merge 1 commit intosteipete:mainfrom
pavelzak:feat/drive-share-commenter-role

Conversation

@pavelzak
Copy link
Copy Markdown
Contributor

Summary

  • Add commenter as a valid permission role for drive share --role
  • Allows sharing files with comment-only access, matching the Google Drive API's commenter role
  • Updates help text, validation, and constants accordingly

Test plan

  • Run drive share --role=commenter --to=user --email=test@example.com <fileId> and verify commenter permission is applied
  • Verify drive share --role=invalid still returns an error
  • Verify default role remains reader

Allow sharing files with comment-only access via `--role=commenter`,
matching the Google Drive API's commenter permission role.
steipete added a commit that referenced this pull request Apr 20, 2026
Co-authored-by: pavelzak <2132599+pavelzak@users.noreply.github.com>
@steipete
Copy link
Copy Markdown
Owner

Landed manually on main with added coverage for commenter role output.

Thanks @pavelzak!

@steipete steipete closed this Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants