Feature request: Demo-mode #4
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: webcron/webcron#4
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
There should be a demo-mode to be able to showcase the app without actually running the jobs.
Why do we need this?
Just like a computer is not meant to be thrown out of the window, you can actually throw it out of the window. For the same reason it is possible webcron management can be used to do malicious things. Therefore, if we want to create a showcase instance, the showcase instance should not become a portal for hacking and other kinds of naughty stuff.
Design
Only the system administrator should be able to enable demo mode. The best way to do this is through a .env variable (DEMO_MODE=true)
Login page should also be visible for the visiting user. For actual login the login details are available on the page. As passwords are encrypted using bcrypt, we cannot decipher the passwords. Therefore, we should also provide demo-credentials on the page.
After login, the cronjobs should not be actually run, but an impression of doing so should be given.