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

feature: add a config setting to modify the state of Workspace filter options #5294

Closed
rudokemper opened this issue Feb 14, 2025 · 3 comments
Assignees

Comments

@rudokemper
Copy link
Contributor

A Windmill Workspace has several filter options, such as "Only archived" and "Include without main function". By default, the former is disabled, and the latter is enabled.

Image

It would be nice to change the default state of these filters for a Workspace. In particular, it would be good to be able to set "Include without main function" to false in the Workspace settings, so that e.g. Operator or other users don't see module scripts in their Workspace when they are scheduling runs... unless they toggle the filter back on.

@HugoCasa
Copy link
Contributor

HugoCasa commented Feb 14, 2025

@rudokemper i'll double check but the api doesn't return scripts without a main function to operators so it shouldn't appear in the frontend
and the filter is not available for operators either

@rudokemper
Copy link
Contributor Author

@HugoCasa ah, you are right! I've checked already. The feature I'm describing would therefore only be relevant for Developer and higher user roles, which is less salient, as you'd expect a Developer (or Admin) to know to ignore module scripts. Ok, I'm happy to close this then unless you or others think the proposed feature has merit otherwise.

@HugoCasa
Copy link
Contributor

I'm closing it for the time being, but if others feel the need, feel free to reopen it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants