Hello :wave: We're using the gooddata CLI / VScod...
# gooddata-cloud
c
Hello 👋 We're using the gooddata CLI / VScode plugin and we're unable to run validate or deploy commands without the user being an Admin. I would expect if they have "MANAGE" permissions on the workspace and "USE" permissions on the datasource, they should be able to run these commands. Example output
Copy code
% gd validate --log-level debug --profile dev
GoodData Analytics v0.10.0
[d] Library versions used in this environment:
[d]  - npm: 8.19.4
[d]  - node: 16.20.2
[d]  - openssl: 3.3.2
[d]  - v8: 9.4.146.26-node.26
Validate your datasets and metrics.

[d] Located manifest at: ./gooddata.yaml
[d]             profile: dev
[d]            hostname: https://<REDACTED>.<http://cloud.gooddata.com/|cloud.gooddata.com/>
[d]           workspace: <REDACTED>
[d]          datasource: <REDACTED>
✓ Loading local environment
✓ Validating
[e] The local environment contains 45 errors and 1 warnings. See the full list below.
    
[w] in ./gooddata.yaml 6:18
    4|    token: <REDACTED>
    5|    workspace_id: <REDACTED>
    6|    data_source: <REDACTED>
    7|source_dir: ''
    8|default_profile: dev
      Can not load data sources from server for profile "dev". Reason: The requested endpoint does not exist or you do not have permission to access it.
j
Hi Cian, May I ask if the identical command works for an admin user?
c
Yes, we tested many different combinations of permissions for the user and the only way we could get it to successfully run was giving them admin.
We also tested both
v0.9.0
and
v0.10.0
j
Thanks for the info. I think this is probably expected, but let me double-check internally.
c
Thanks Julius
If this is the case though, it would make the cli / VScode extension unusable for us 😞
j
Hello Cian, I’m sorry to be the bearer of bad news but I have to confirm that CLI indeed works only for admins. I’ve just confirmed that with our engineers. This is due to some internal restrictions and its related to the data source access/permissions and complexity in the development.
In any case, I will submit a product feedback on your behalf so our product team can consider to amend this in future developments. Thank you for sharing your experience with our product and sorry again that this was not the answer you were hoping for.
c
Thanks for getting back to us @Julius Kos. I'm sure this also makes the CLI a no-go for anyone else wanting to use it for development and CI/CD flows of their gooddata products (which seems to be its intended use). If there are updates on plans to fix it, please let us know.
👍🏼 1
j
Noted, and I’m adding your last comment to the product feedback.
p
🎉 New note created.
c
Hey @Julius Kos do you have any updates on this feedback ? Is it something planned or not ?