mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add ability for users to convert their password login type to oauth/github login (#8105)
* Currently toggled by experiment flag --------- Co-authored-by: Bruno Quaresma <bruno@coder.com>
This commit is contained in:
co-authored by
Bruno Quaresma
parent
357f3b38f7
commit
b5f26d9bdf
@@ -100,7 +100,7 @@ var auditableResourcesTypes = map[any]map[string]Action{
|
||||
"updated_at": ActionIgnore, // Changes, but is implicit and not helpful in a diff.
|
||||
"status": ActionTrack,
|
||||
"rbac_roles": ActionTrack,
|
||||
"login_type": ActionIgnore,
|
||||
"login_type": ActionTrack,
|
||||
"avatar_url": ActionIgnore,
|
||||
"last_seen_at": ActionIgnore,
|
||||
"deleted": ActionTrack,
|
||||
@@ -157,6 +157,13 @@ var auditableResourcesTypes = map[any]map[string]Action{
|
||||
"scope": ActionIgnore,
|
||||
"token_name": ActionIgnore,
|
||||
},
|
||||
&database.AuditOAuthConvertState{}: {
|
||||
"created_at": ActionTrack,
|
||||
"expires_at": ActionTrack,
|
||||
"from_login_type": ActionTrack,
|
||||
"to_login_type": ActionTrack,
|
||||
"user_id": ActionTrack,
|
||||
},
|
||||
// TODO: track an ID here when the below ticket is completed:
|
||||
// https://github.com/coder/coder/pull/6012
|
||||
&database.License{}: {
|
||||
|
||||
Reference in New Issue
Block a user