Granting permissions to an object when adding people to a conversation
A user generates a message by adding a recipient in order to send the message to the recipient. The message has a link to an attached object which is automatically detected and it is determined whether the recipient has rights to the object. If not, the recipient's rights are automatically modified so that the recipient has rights to the object, and the user is notified of the modified permissions.
1. A computer-implemented method of controlling a messaging system, comprising:
detecting that a user of an organization, that deploys the messaging system, is sending a message to a recipient;
determining whether the recipient is an external recipient, that is external to the organization;
if the recipient is an external recipient and external sharing is disabled in the messaging system, then displaying an error message;
if the recipient is an external recipient and external sharing is enabled in the messaging system, then
accessing an access control list to determine whether the recipient has permissions to access a shared object and, if the recipient does not have permissions to access the shared object, modifying permissions in the access control list to set the permissions for the recipient to have access to the shared object; and
if the recipient is not an external recipient, then
accessing an access control list to determine whether the recipient has permissions to access the shared object and, if the recipient does not have permissions to access the shared object, modifying permissions in the access control list to set the permissions for the recipient to have access to the shared object.
2. The computer-implemented method of claim 1 wherein detecting that the user is sending the message comprises:
detecting that the message includes the link to the shared object.
3. A computing system comprising:
at least one processor; and
memory storing instructions executable by the at least one processor, wherein the instructions configure the computing system to:
detect that a user of an organization, that deploys a messaging system, is sending a message to a recipient;
determine whether the recipient is an external recipient, that is external to the organization;
if the recipient is an external recipient and external sharing is disabled in the messaging system, then display an error message;
if the recipient is an external recipient and external sharing is enabled in the messaging system, then
access an access control list to determine whether the recipient has permissions to access a shared object and, if the recipient does not have permissions to access the shared object, modify permissions in the access control list to set the permissions for the recipient to have access to the shared object; and
if the recipient is not an external recipient, then
access an access control list to determine whether the recipient has permissions to access the shared object and, if the recipient does not have permissions to access the shared object, modify permissions in the access control list to set the permissions for the recipient to have access to the shared object.
4. The computing system of claim 3 wherein the instructions configure the computing system to:
detect that the message includes the link to the shared object.
5. A computing device comprising:
at least one processor; and
memory storing instructions executable by the at least one processor, wherein the instructions configure the computing device to:
detect that a user of an organization, that deploys a messaging system, is sending a message to a recipient;
determine whether the recipient is an external recipient, that is external to the organization;
if the recipient is an external recipient and external sharing is disabled in the messaging system, then display an error message;
if the recipient is an external recipient and external sharing is enabled in the messaging system, then
access an access control list to determine whether the recipient has permissions to access a shared object and, if the recipient does not have permissions to access the shared object, modify permissions in the access control list to set the permissions for the recipient to have access to the shared object; and
if the recipient is not an external recipient, then
access an access control list to determine whether the recipient has permissions to access the shared object and, if the recipient does not have permissions to access the shared object, modify permissions in the access control list to set the permissions for the recipient to have access to the shared object.
6. The computing device of claim 5 , wherein the instructions configure the computing device to:
detect that the message includes the link to the shared object.