-
Notifications
You must be signed in to change notification settings - Fork 129
Conversation
@asbiin could you review? |
@asbiin wait, don't review now. Still have changes to do. |
@asbiin that should be good. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice feature!
You deactivated some actions for demo mode at View level. But you also have to check it in the Controller, or someone would be able to forge a request and run it!
Co-authored-by: Alexis Saettler <alexis@saettler.org>
You are right. I'll add those changes. |
…life into 2021-05-23-demo-mode
Kudos, SonarCloud Quality Gate passed! |
🎉 This PR is included in version 0.1.0-alpha.10 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
This pull request has been automatically locked since there |
This PR adds a demo mode to OfficeLife.
The demo mode is made for an instance that is supposed to showcase how OfficeLife behaves with real data.
To enable the demo mode, we need to edit a new .env variable called
DEMO_MODE
. By default, the demo mode is set to false.Once the demo mode is enabled:
ENABLE_SIGNUPS
that activates or deactivates the Signup form on the instance.