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

read-only mode, prohibiting editing dags in web ui #770

Open
triole opened this issue Jan 3, 2025 · 2 comments
Open

read-only mode, prohibiting editing dags in web ui #770

triole opened this issue Jan 3, 2025 · 2 comments

Comments

@triole
Copy link
Contributor

triole commented Jan 3, 2025

Hi there,

thanks for Dagu. It's a great tool that I really enjoy using. Please keep up the good work.

Recently I was thinking about a feature that I would very much like to see. Let's call it a "read-only mode" in the web user interface which would be enabled in the server configuration. The idea is, that anyone should be able to have a look at the dags without authentication, but not be able to edit them or create new ones. So basically to use the web interface just for observation purposes.

What do you think? Is it useful? How hard would it be to implement something like this?

Thanks, have a nice day.

@triole triole changed the title read-only mode prohibiting editing dags in web ui read-only mode, prohibiting editing dags in web ui Jan 3, 2025
@yohamta
Copy link
Collaborator

yohamta commented Jan 4, 2025

Hey @triole, thank you for sharing this interesting idea! Just to clarify, are you suggesting that only authenticated users would be able to run or edit DAGs, while others could view them in a read-only mode? I think this could be quite useful, especially when sharing the Web UI with non-tech people. Could you share more details about the authentication method you're using, is it basic authentication or something else?

@ghansham
Copy link

ghansham commented Jan 5, 2025

I am also interested in this read only mode. May be we can remove all buttons for starting stopping and retrying the dags. That will be great. Session management may be required.
It looks for all post requests need to be authenticated. Token based authentication server is one option.

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

No branches or pull requests

3 participants