aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src/init.ts
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/src/init.ts')
-rw-r--r--apps/files_sharing/src/init.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/files_sharing/src/init.ts b/apps/files_sharing/src/init.ts
index 734f888cb7d..7699fcff9af 100644
--- a/apps/files_sharing/src/init.ts
+++ b/apps/files_sharing/src/init.ts
@@ -20,6 +20,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
+import { registerDavProperty } from '@nextcloud/files'
import registerSharingViews from './views/shares'
import './actions/acceptShareAction'
@@ -29,3 +30,7 @@ import './actions/restoreShareAction'
import './actions/sharingStatusAction'
registerSharingViews()
+
+registerDavProperty('nc:share-attributes', { nc: 'http://nextcloud.org/ns' })
+registerDavProperty('oc:share-types', { oc: 'http://owncloud.org/ns' })
+registerDavProperty('ocs:share-permissions', { ocs: 'http://open-collaboration-services.org/ns' })