Patent attributes
Inline command functionality for automatically sharing a document with user access permissions is provided. Automatic sharing of a document is performed in response to a trigger entry within the document. When a trigger entry and a user identifier entry is received, an auto-share system automatically resolves user access permissions in the background, detects sharing permissions, and shares the document with user access permissions without requiring the user who is sharing the document to manually input data. A notification is provided to the sharing user informing the user that the document is being shared, and another notification is provided to the user with whom the document is being shared including a link to the document. If the document was unintentionally shared, the sharing user is enabled to select the notification, and quickly and easily make modifications to the user access permissions for the document.