Documentation ¶
Index ¶
- func AddProjectMember(member models.Member) (int, error)
- func DeleteProjectMemberByID(pmid int) error
- func GetProjectMember(queryMember models.Member) ([]*models.Member, error)
- func GetRolesByGroup(projectID int64, groupDNCondition string) []int
- func SearchMemberByName(projectID int64, entityName string) ([]*models.Member, error)
- func UpdateProjectMemberRole(pmID int, role int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddProjectMember ¶
AddProjectMember inserts a record to table project_member
func DeleteProjectMemberByID ¶
DeleteProjectMemberByID - Delete Project Member by ID
func GetProjectMember ¶
GetProjectMember gets all members of the project.
func GetRolesByGroup ¶ added in v1.6.0
GetRolesByGroup -- Query group roles
func SearchMemberByName ¶
SearchMemberByName search members of the project by entity_name
func UpdateProjectMemberRole ¶
UpdateProjectMemberRole updates the record in table project_member, only role can be changed
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.