Move the crudhandler to own repo (#27)
This commit is contained in:
@ -81,7 +81,7 @@ func getNamespace(c echo.Context) (namespace models.Namespace, err error) {
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
if !namespace.CanRead(&user) {
|
||||
if !namespace.CanRead(user) {
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user