You need permission error in Colab notebook Drive link access
0 reputation · 28 Jun 2024, 07:08 UTC
The goal is to clarify how Colab notebook access is controlled when a notebook is shared via a link and to understand the risk of unintended exposure through Google Drive permission inheritance.
Colab enforces the underlying Google Drive file permissions for a notebook. The 'You need permission' message is returned when the viewing Google account lacks view rights on the Drive file. A newly created notebook defaults to private. If the notebook is moved into a Drive folder with broader sharing, the folder permissions can be inherited by the file. Colab does not provide an automatic prompt or warning when a user copies or shares a link about the effective audience determined by Drive sharing settings.
Is there a Colab UI indication when a notebook inherits broader sharing from its parent Drive folder? Does Colab surface a warning when a link is copied for a notebook whose Drive permissions differ from the notebook's own sharing setting? How is permission inheritance communicated to the notebook owner?