MM-51321 Refactor audit log application. (#22481)
* Refactor audit log application. * Fix incorrect API Usage for Auditing * Fixups. * Rename Object audit to Auditable. Some small fixes. --------- Co-authored-by: Daniel Schalla <daniel@schalla.me>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
9a38a52392
Коммит
7804debb7f
@@ -70,6 +70,14 @@ type TeamPatch struct {
|
||||
CloudLimitsArchived *bool `json:"cloud_limits_archived"`
|
||||
}
|
||||
|
||||
func (o *TeamPatch) Auditable() map[string]interface{} {
|
||||
return map[string]interface{}{
|
||||
"allow_open_invite": o.AllowOpenInvite,
|
||||
"group_constrained": o.GroupConstrained,
|
||||
"cloud_limits_archived": o.CloudLimitsArchived,
|
||||
}
|
||||
}
|
||||
|
||||
type TeamForExport struct {
|
||||
Team
|
||||
SchemeName *string
|
||||
|
||||
Ссылка в новой задаче
Block a user