Add user account roles
This commit is contained in:
parent
b4817546df
commit
7ea66dc02e
10 changed files with 188 additions and 12 deletions
|
|
@ -3804,6 +3804,7 @@ func (f *Factory) FromExistingUser(m *models.User) *UserTemplate {
|
|||
o.Username = func() string { return m.Username }
|
||||
o.PasswordHashType = func() enums.Hashtype { return m.PasswordHashType }
|
||||
o.PasswordHash = func() string { return m.PasswordHash }
|
||||
o.Role = func() enums.Userrole { return m.Role }
|
||||
|
||||
ctx := context.Background()
|
||||
if len(m.R.PublicUserUser) > 0 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue