1
0

/namepspaces/{namespacesID}/users now also returns the user right

This commit is contained in:
kolaente
2018-09-17 19:39:14 +02:00
parent b1564659c4
commit cf6577445d
3 changed files with 6 additions and 7 deletions

View File

@ -11,11 +11,6 @@ func (ul *ListUser) ReadAll(user *User) (interface{}, error) {
return nil, ErrNeedToHaveListReadAccess{}
}
type userWithRight struct {
User `xorm:"extends"`
Right UserRight `json:"right"`
}
// Get all users
all := []*userWithRight{}
err = x.