This commit is contained in:
@@ -26,11 +26,10 @@ 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 {
|
||||||
UserId int `db:"UserId" json:"userId"`
|
User
|
||||||
GroupId int `db:"GroupId" json:"groupId"`
|
|
||||||
Group
|
Group
|
||||||
Permission
|
Permission
|
||||||
SafeName string `db:"SafeName"`
|
Safe
|
||||||
Secret
|
Secret
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user