Sharing the Notebook with other users

I made a custom react UI and login mechanism(using ethereum Metamask) as a notebook extension. Using this UI the notebook owner can define the access policies associating them with the specific notebook and the ethereum address of the other users.

What are the best mechanisms available to share the jupyter notebooks to other users and enforce these defined policies? For example, a User A with a read_only access can only view the notebook data.