# Functions
AddWorkflowGroup Add permission on the given workflow for the given group.
CheckUserInDefaultGroup inserts user in default group.
Create insert a new group in database and set user for given id as group admin.
CreateDefaultGroup creates a group 'public' where every user will be.
Delete deletes group and dependencies.
DeleteAllGroupFromNode remove all groups from the given node id.
DeleteAllLinksGroupUser removes all links group-user into database for given group.
DeleteLinkGroupProject deletes the link between group and project and checks that group was not last with RWX permission.
DeleteLinkGroupUser removes given link group-user into database.
DeleteAllLinksGroupUser removes all links group-user into database for given group.
DeleteLinksGroupProjectForProjectID removes all links between group and project from database for given project id.
DeleteWorkflowGroup remove group permission on the given workflow.
EnsureOrganization computes group organization from members list and save it if needed.
InitializeDefaultGroupName initializes sharedInfraGroup and Default Group.
Insert given group into database.
InsertGroupsInNode Link the given groups and the given environment.
InsertLinkGroupProject inserts given link group-project into database.
InsertLinkGroupUser inserts given link group-user into database.
For given consumer check that it is group admin, member should be loaded on group and worker should be loaded on consumer if exists.
IsDefaultGroupID returns true if groupID is the defaultGroupID.
LoadAll returns all groups from database.
LoadAllByIDs returns all groups from database for given ids.
LoadAllByUserID returns all groups from database for given user id.
LoadByID retrieves group from database by id.
LoadByName retrieves a group by name from database.
LoadGroupsByNode retrieves all groups related to a node.
LoadGroupsIntoProject retrieves all groups related to project.
LoadLinkGroupProjectForGroupIDAndProjectID returns a link from project_group if exists for given group and project ids.
LoadLinkGroupUserForGroupIDAndUserID returns a link from group_user if exists for given group and user ids.
LoadLinksGroupProjectForGroupID returns data from project_group table for given group id.
LoadLinksGroupProjectForProjectIDs returns data from project_group table for given group id.
LoadLinksGroupUserForGroupIDs returns data from group_user table for given group ids.
LoadLinksGroupUserForUserIDs returns data from group_user table for given user ids.
LoadRoleGroupInWorkflow load role from group linked to the workflow.
LoadWorkflowGroups load groups for a workflow.
LoadWorkflowGroupsByWorkflowIDs returns a map with key: workflowID and value the slite of groups.
Update given group into database.
UpdateLinkGroupProject updates group role for the given project.
UpdateLinkGroupUser updates given link group-user into database.
UpdateWorkflowGroup update group permission for the given group on the current workflow.
Create insert a new group in database and set user for given id as group admin.
UpsertAllWorkflowGroups upsert all groups in a workflow.
UpsertWorkflowGroup upsert a workflow group.
# Variables
SharedInfraGroup is the group used to share infrastructure between projects.
LoadLinkGroupProjectOptions provides all options on link group project loads functions.
LoadOptions provides all options on group loads functions.
SharedInfraGroup is the group used to share infrastructure between projects.
# Structs
LinkGroupProject struct for database entity of project_group table.
LinkGroupUser struct for database entity of group_authentified_user table.
# Type aliases
LinksGroupProject struct.
LinksGroupUser struct.
LoadLinkGroupProjectOptionFunc for link group project.
LoadOptionFunc for group.