add a way to link a normal account to a collection to avoid using an admin account to use the collection API.
nextcloud$ ./occ fulltextsearch:collection:link
no collection linked to any user
nextcloud$ ./occ fulltextsearch:collection:link local test1
linked collection
nextcloud$ ./occ fulltextsearch:collection:link
- Collection local linked to user test1
$ ./occ fulltextsearch:collection:link local --unlink
unlinked collection
once linked, requests on the ocs API can be done using the non-admin user account,
only one user can be linked to a collection,
multiple collections can be linked to the same user,
multiple collections can be linked to different users
add a way to link a normal account to a collection to avoid using an admin account to use the collection API.