Bugfix: Fix the create link endpoint

We fixed an issue when Shares drive can be shared via link share with Internal role using permissions endpoint 

https://github.com/owncloud/ocis/pull/11542  
https://github.com/owncloud/ocis/issues/11409
