- Issue created by @tgoeg
- Assigned to timotej-pl
- 🇸🇮Slovenia timotej-pl
timotej-pl → changed the visibility of the branch 3419416-change-master-key to hidden.
- 🇸🇮Slovenia timotej-pl
timotej-pl → changed the visibility of the branch 3419416-change-master-key to active.
- Status changed to Needs review
9 months ago 10:24am 21 February 2024 - 🇸🇮Slovenia timotej-pl
Upon discussion with the maintainer, it was proposed to refactor the logic in how connection to the API is handled in API service. With introduction of different API keys it's easier to not store Client objects and its variables inside the service, so client object is now created when needed and API service methods require Client object as parameter.
- Status changed to Needs work
9 months ago 1:31pm 22 February 2024 - 🇸🇮Slovenia timotej-pl
While working on resolving tests I found couple of things that change the need for specific permissions on each key.
For Index key to work with all functionalities it needs to have permissions:
"documents.get",
"documents.add",
"documents.delete",
"settings.update",
"settings.get",
"tasks.get",
"stats.get",
"version",
"indexes.create",
"indexes.get",
"indexes.update",
"indexes.delete",
"indexes.swap"
Search key needs to have permissions:
"version",
"search",
"indexes.get"