parseablehq / pb

CLI client for Parseable server. Inspect, query and analyse Parseable log data from your terminal.
https://parseable.com
GNU Affero General Public License v3.0
15 stars 8 forks source link

Fix using legacy role privilege name: 'ingester' with Parseable v1.0.0+ #38

Closed krumpira closed 4 months ago

krumpira commented 5 months ago

Hi, since Parseable v1.0.0, the legacy "ingester" role is renamed to "ingestor". Staring Parseable required fixing it in parseable.json, but when using pb cli to create new role, it complains:

Response: Json deserialize error: unknown variant `ingester`, expected one of `admin`, `editor`, `writer`, `ingestor`, `reader` at line 1 column 24

because it uses the old privilege name.

pb would be useful again for creating roles if this was corrected.