1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-05 05:25:27 +02:00

css tweaks

This commit is contained in:
Harvey Kandola 2017-10-05 11:41:53 -04:00
parent 0e00085f81
commit c8dc284d03
6 changed files with 34 additions and 9 deletions

View file

@ -104,8 +104,7 @@ func (h *Handler) Get(w http.ResponseWriter, r *http.Request) {
return
}
ok := permission.HasPermission(ctx, *h.Store, spaceID,
pm.SpaceManage, pm.SpaceOwner, pm.SpaceView)
ok := permission.HasPermission(ctx, *h.Store, spaceID, pm.SpaceManage, pm.SpaceOwner, pm.SpaceView)
if !ok {
response.WriteForbiddenError(w)
return