Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The ui shows internal command when it maybe shouldn't #2923

Open
demetris-manikas opened this issue Jan 9, 2025 · 2 comments
Open

The ui shows internal command when it maybe shouldn't #2923

demetris-manikas opened this issue Jan 9, 2025 · 2 comments
Labels
kind/bug Something isn't working

Comments

@demetris-manikas
Copy link

demetris-manikas commented Jan 9, 2025

What happened?
When I visit the commands page of the ui i can see and execute internal commands

What did you expect to happen instead?
I would expect internal commands to not appear at all or at least to not be executable

How can we reproduce the bug? (as minimally and precisely as possible)
Define an internal command and check the commands page
My devspace.yaml:

version: v2beta1
...

Local Environment:

  • DevSpace Version: 6.3.14
  • Operating System: windows | linux | mac
  • ARCH of the OS: AMD64 | ARM64 | i386
    Kubernetes Cluster:
  • Cloud Provider: google | aws | azure | other
  • Kubernetes Version:
    Client Version: v1.31.0
    Kustomize Version: v5.4.2
    Server Version: v1.30.6+k3s1

Anything else we need to know?

@demetris-manikas demetris-manikas added the kind/bug Something isn't working label Jan 9, 2025
@deniseschannon
Copy link

What is your concern of showing the internal commands? The UI doesn't have any special permissions and it's hosted locally, so this is really scoped to the individual user.

@demetris-manikas
Copy link
Author

Hi.
The devspace list commands does not list internal commands although one can execute them.
I would expect the ui to do something similar.
In my case I have 4 "public commands" and another 12 "internal"
A developer should only be presented with the useful 4 command and not with 16.
I am not suggesting to completely remove them from the ui but some kind of grouping in the UI would be nice.
Thanks for your time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants