Skip to content

Accessing meta notes #4

@cantino

Description

@cantino

Hey @samhld, I'm trying to test fine grained authorization and cannot figure out how to access the meta nodes.

I enabled authentication and added an admin user. However, when I run the following, I get curl: (6) Could not resolve host: meta2:

curl -s -L -XPOST "http://localhost:18091/influxdb/v2/acl/grants" \
  -u "admin:admin" \
  -H "Content-Type: application/json" \
  --data-binary '{
    "database": {"match": "exact", "value": "telegraf"},
    "measurement": {"match": "exact", "value": "cpu"},
    "permissions": ["read"],
    "users": [
      {"name": "restricted"}
    ]
  }'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions