Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linked collection #868

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

ArtificialOwl
Copy link
Member

@ArtificialOwl ArtificialOwl commented Sep 9, 2024

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

Signed-off-by: Maxence Lange <[email protected]>
@ArtificialOwl
Copy link
Member Author

/backport to stable30

@ArtificialOwl
Copy link
Member Author

/backport to stable29

@ArtificialOwl
Copy link
Member Author

/backport to stable28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants