All Categories
  • Authentication
  • Branding
  • Changelogs
  • Collaboration
  • Compliance
  • Customization
  • Desktop Client
  • External Storage
  • Frequently Asked Questions
  • Installation
  • Operations
  • Partner Products
  • Scalability
  • Security
  • Managing tags by group

    Nextcloud offers the ability to manage restricted file tags also by groups. At the moment the settings are not exposed in the web interface however. By utilizing the WebDAV-based API the desired configuration can be achieved. This article shows how this can be established. It assumes that the tag to be managed is already existing. The command line tools curl and xmllint are being used.

    1. Find the ID of your tag:

    curl -u ADMINUSER \
    -X PROPFIND\
    -H 'Content-Type: application/xml; charset=utf-8' \
    -d '<?xml version="1.0"?><d:propfind xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns"><d:prop><oc:id /><oc:display-name /><oc:user-visible /><oc:user-assignable /><oc:can-assign /><oc:groups /></d:prop></d:propfind>' \
    https://your.nextcloud.server/remote.php/dav/systemtags \
    | xmllint --format -