(ctx context.Context, workspaceID string, email string)
| 101 | } |
| 102 | |
| 103 | func (m *Manager) GetUserGroups(ctx context.Context, workspaceID string, email string) ([]string, error) { |
| 104 | return m.store.GetUserGroupsSnapshot(ctx, workspaceID, common.FormatUserEmail(email)) |
| 105 | } |
| 106 | |
| 107 | func check(user *store.UserMessage, p permission.Permission, policy *storepb.IamPolicy, getPermissions func(role string) map[permission.Permission]bool, getGroupMembers func(groupName string) map[string]bool, skipAllUsers bool) bool { |
| 108 | userName := formatUserNameByType(user) |
no test coverage detected