Sharing - WilStead/VueCoreFramework GitHub Wiki

All users

Any user can share a data item which they themselves have created with other users on an individual basis. Either "view" or "edit" permissions may be shared ("edit" includes "view"). Users with whom a data item has been shared cannot delete the shared item; only the original owner can do so.

The owner of a data item can also hide that item from anyone with whom it has been previously shared—even if the owner was not the one who originally shared it.

Group managers

The manager of a user group can also share data with their entire group (whereas ordinary users can only share data on an individual basis).

Managers are able to share any item which they themselves have access to, even if they are not the original owner of the data item. However, they are only able to share permissions up to the level they themselves possess. For example, if the owner of a data item has shared "view" permission for that item with a group's manager, the manager can then share "view" permission for that item to their entire group, but they would not be able to share "edit" permission for the item with their group, since they themselves don't have that permission.

Administrators

Administrators can share any permission for any data item, even those they do not own, with any individual user or group. They are also able to share data with all users at once, making it generally available.

In addition administrators have the power to share an entire data type, as well as individual data items. When sharing a type, an administrator is able to select "add" and "all" permissions as well as "view" and "edit" ("add" permission includes "edit" and "view", and "all" permissions includes all other permissions, and adds the ability to delete items of that type even if the user is not the owner of the item). For instance, if your site has a data type called "Order" an administrator could share "all" permissions for the "Order" type with a the "Sales" group, giving all members of that group full access to manipulate all orders.