try to retrieve UserName from secrets table
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -26,7 +26,8 @@ type Secret struct {
|
|||||||
|
|
||||||
// Used for querying all secrets the user has access to
|
// Used for querying all secrets the user has access to
|
||||||
type UserSecret struct {
|
type UserSecret struct {
|
||||||
User
|
UserId int `db:"UserId" json:"userId"`
|
||||||
|
GroupId int `db:"GroupId" json:"groupId"`
|
||||||
Group
|
Group
|
||||||
Permission
|
Permission
|
||||||
Safe
|
Safe
|
||||||
|
Reference in New Issue
Block a user