mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add groups and group members to telemetry snapshot (#13655)
* feat: Added in groups and groups members to telemetry snapshot * feat: adding in test to dbauthz for getting group members and groups
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
-- name: GetGroupMembers :many
|
||||
SELECT * FROM group_members;
|
||||
|
||||
-- name: GetGroupMembersByGroupID :many
|
||||
SELECT
|
||||
users.*
|
||||
FROM
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
-- name: GetGroups :many
|
||||
SELECT * FROM groups;
|
||||
|
||||
-- name: GetGroupByID :one
|
||||
SELECT
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user