Get a connection together with the users and groups that have access to it.
Access rights of a connection are not stored on the connection itself, but on a separate Shareable resource that every connection points to via its shareable_id . Include the Shareable model, and nest User and Group inside it, to see who a connection is shared with. The flagRead , flagUse , flagModify and flagOwn attributes describe the level of access each user or group has.
To actually share the connection, associate this shareable_id ( not the connection id ) to a user as shown here , or to a group as shown here .
npm install @luzmo/nodejs-sdk