Corretly hide "no permissions" message in controls in viewer mode
Corretly hide "no permissions" message in controls in viewer mode

Fixes #5622

Ardinis/server,endsguy/server,whitekiba/server,bluelml/core,lrytz/core,whitekiba/server,pmattern/server,sharidas/core,pixelipo/server,whitekiba/server,pollopolea/core,andreas-p/nextcloud-server,IljaN/core,IljaN/core,sharidas/core,sharidas/core,pollopolea/core,xx621998xx/server,andreas-p/nextcloud-server,owncloud/core,andreas-p/nextcloud-server,IljaN/core,lrytz/core,cernbox/core,endsguy/server,phil-davis/core,xx621998xx/server,nextcloud/server,pmattern/server,cernbox/core,Ardinis/server,xx621998xx/server,michaelletzgus/nextcloud-server,cernbox/core,IljaN/core,xx621998xx/server,michaelletzgus/nextcloud-server,andreas-p/nextcloud-server,pixelipo/server,endsguy/server,jbicha/server,lrytz/core,michaelletzgus/nextcloud-server,whitekiba/server,pmattern/server,pixelipo/server,owncloud/core,pixelipo/server,jbicha/server,Ardinis/server,Ardinis/server,lrytz/core,nextcloud/server,owncloud/core,jbicha/server,xx621998xx/server,pollopolea/core,pmattern/server,cernbox/core,endsguy/server,michaelletzgus/nextcloud-server,bluelml/core,nextcloud/server,bluelml/core,whitekiba/server,jbicha/server,jbicha/server,IljaN/core,bluelml/core,lrytz/core,cernbox/core,Ardinis/server,sharidas/core,nextcloud/server,sharidas/core,andreas-p/nextcloud-server,owncloud/core,endsguy/server,pixelipo/server,pollopolea/core,pollopolea/core,pmattern/server,owncloud/core,bluelml/core