Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNewInstance ¶
CreateNewInstance creates a new instance, which is a group of users with a shared set of permissions and resources. The user who creates the instance is automatically assigned the role of instance admin. Instance admins can add and remove members, assign roles, and perform other administrative tasks. The data is stored in Firestore. The FireStore structure is as follows: /instances/{instanceId}
/metadata { name, createdBy, ...} /members/{userId} { role, joinedDate, ...}
func CreateNewUser ¶
CreateNewUser creates a new user account. The user's data is stored in Firestore. The Firestore structure is as follows: /users/{userId}
func MigrateUserToTenant ¶
func RemoveMember ¶
func SetMemberRole ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.