zammad / zammad-documentation

The system administrator documentation for Zammad.
https://docs.zammad.org
GNU Affero General Public License v3.0
56 stars 127 forks source link

The documentation does not state information on permissions needed for the Elasticsearch user used to connect to Elasticsearch server #247

Open oussjarrousse opened 2 years ago

oussjarrousse commented 2 years ago

While attempting to connect my zammad installation with an elasticsearch that I am hosting on another device. I created a special Elsaticsearch user for Zammad. I did not want to give too much permissions to the zammad ES user. However I did not find in the documentation the list of permissions required for a successful integration of EL and Zammad. https://docs.zammad.org/en/latest/install/elasticsearch.html

Eventually I ended up using the following solution:

Define a new EL role with the following permissions:

I think this info should be added to the documentation exactly here: https://docs.zammad.org/en/latest/install/elasticsearch.html

zerwes commented 10 months ago

for me it is only working with the manage priv included.

zammad:
  cluster: [ "monitor", "manage_ingest_pipelines" ]
  indices:
    - names: [ 'Zammad_*', 'zammad_*' ]
      privileges: [ 'create_index', 'create_doc', 'create', 'read', 'manage' ]
  run_as: ["*"]

with

elasticsearch  8.11.3
zammad         6.2.0-1704392455.bba4f84a.bookworm 

But I fully agree that the required information should be provided in the documentation!