Share a SQL Property Graph

You can share a SQL property graph with other database users. By default, users are granted read-only access on the property graph. You can also grant additional privileges or revoke privileges as needed.

Perform the following steps to share a SQL property graph:
  1. Navigate to the Graphs page using the Graphs menu link.
  2. Click the Property Graph tab.
  3. Select SQL Property Graph from the drop-down.
    The list of SQL property graphs to which you have access are displayed.
  4. Select the graph that you wish to share and click open the additional options menu as shown:
  5. Click Share Graph in the context menu.
    The Share Graph with Permissions slider opens as shown:


    Description of share_graph_with-permissions.png follows
    Description of the illustration share_graph_with-permissions.png

    The slider displays all users with whom you have shared the graph, as well as users who gained access through others re-sharing the graph. The corresponding graph privileges for each user are also shown.

  6. Select the user with whom you wish to share the graph from the Add users with "READ" privilege drop-down and click Save.
    By default, the user is granted READ ONLY privilege on the graph and gets listed as a grantee in the Share Graph with Permissions slider.
  7. Optionally, you can grant additional privileges or revoke existing privileges as shown in the following steps:
    • Granting Additional Privileges:
      1. Click the Edit Permissions icon against the user.

        The Edit User Permissions dialog open as shown:



      2. Select the required user permissions.

        You can grant one or both of the supported permissions:

        • Allow user to re-share graph: The use is empowered to grant access to the graph with other users through the WITH GRANT OPTION clause.
        • Allow user to load graph into memory: This permission will grant the user SELECT permission on all the underlying database tables.
      3. Click Confirm.

        The user privileges are shown updated in the Share Graph with Permissions slider.

    • Revoking Privileges:
      1. Click the Delete icon against the user.

        The Confirm to revoke privilege dialog open as shown:



      2. Click Confirm to revoke all the user privileges.

        It is important to note that you can revoke privileges only for users with whom you originally shared the graph. If you are not the grantor, then you cannot revoke the privileges, and an error will be displayed.