Added unit test for sharing permissions
Added unit test for sharing permissions

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