mirror of
https://github.com/documize/community.git
synced 2025-08-04 21:15:24 +02:00
css tweaks
This commit is contained in:
parent
0e00085f81
commit
c8dc284d03
6 changed files with 34 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue