Feature request: Demo-mode #4

Closed
opened 2022-06-29 17:31:26 +02:00 by JeroenED · 0 comments
Owner

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.

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.
JeroenED added this to the (deleted) milestone 2022-06-29 17:31:26 +02:00
JeroenED added the
enhancement
label 2022-06-29 17:31:26 +02:00
JeroenED added this to the Release 1.0 project 2022-07-04 12:07:37 +02:00
JeroenED self-assigned this 2022-07-04 12:08:03 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: webcron/webcron#4
No description provided.