Add link to sudo powers
This commit is contained in:
parent
ec8b7b7db9
commit
9f20eda00d
5 changed files with 20 additions and 1 deletions
|
|
@ -85,5 +85,6 @@ type User struct {
|
|||
Initials string
|
||||
Notifications []notification.Notification
|
||||
Organization Organization
|
||||
Role string
|
||||
Username string
|
||||
}
|
||||
|
|
|
|||
|
|
@ -106,6 +106,7 @@ func contentForUser(ctx context.Context, user *models.User) (User, error) {
|
|||
Initials: extractInitials(user.DisplayName),
|
||||
Notifications: notifications,
|
||||
Organization: organization,
|
||||
Role: user.Role.String(),
|
||||
Username: user.Username,
|
||||
}, nil
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue