Skip to content
Snippets Groups Projects
Commit 625b57d8 authored by Andre Sterba's avatar Andre Sterba Committed by Fabian Seidl
Browse files

Apply suggestions

parent 1a376480
No related branches found
No related tags found
1 merge request!287Implement data persisting for user management
Pipeline #99936 failed
......@@ -21,6 +21,7 @@ func NewRole(id uuid.UUID,
name string,
description string,
permissions []string) rbac.Role {
return &Role{
RoleID: id,
RoleName: name,
......
......@@ -23,6 +23,7 @@ func NewUser(id uuid.UUID,
roles map[string]string,
pw string,
token string) rbac.User {
return &User{
UserID: id,
UserName: name,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment