Went through the model and added all missing fields.

Except user.Password/MfaSecret/AuthData and session.TeamMembers.

```release-note
NONE
```
Этот коммит содержится в:
Agniva De Sarker
2022-07-18 11:10:58 +05:30
коммит произвёл GitHub
родитель 2aaf4cf0fb
Коммит ae482e6214
7 изменённых файлов: 126 добавлений и 4 удалений

Просмотреть файл

@@ -444,6 +444,18 @@ func (r *Role) Patch(patch *RolePatch) {
}
}
func (r *Role) CreateAt_() float64 {
return float64(r.CreateAt)
}
func (r *Role) UpdateAt_() float64 {
return float64(r.UpdateAt)
}
func (r *Role) DeleteAt_() float64 {
return float64(r.DeleteAt)
}
// MergeChannelHigherScopedPermissions is meant to be invoked on a channel scheme's role and merges the higher-scoped
// channel role's permissions.
func (r *Role) MergeChannelHigherScopedPermissions(higherScopedPermissions *RolePermissions) {