A small plugin for Frappe that enforces and manages the session defaults popup.
- Frappe >= v13.0.0
Do not forget to replace [sitename] with the name of your site in all commands.
- Go to bench directory
cd ~/frappe-bench
- Get plugin from Github
(Required only once)
bench get-app https://github.com/kid1194/frappe-strict-session-defaults
- Build plugin
(Required only once)
bench build --app strict_session_defaults
- Install plugin on a specific site
bench --site [sitename] install-app strict_session_defaults
- Check the usage section below
- Go to app directory
cd ~/frappe-bench/apps/strict_session_defaults
- Get updates from Github
git pull
- Go to bench directory
cd ~/frappe-bench
- Build plugin
bench build --app strict_session_defaults
- Update a specific site
bench --site [sitename] migrate
- (Optional) Restart bench
bench restart
- Go to bench directory
cd ~/frappe-bench
- Uninstall plugin from a specific site
bench --site [sitename] uninstall-app strict_session_defaults
- Remove plugin from bench
bench remove-app strict_session_defaults
- (Optional) Restart bench
bench restart
- Go to
Strict Session Defaults Settings
- Check
Is Enabled
box - Select the
Roles Condition
desired - Add the roles that the condition applies to
- Handle the
Users Condition
andUsers
in the same way
If you find bug in the plugin, please create a bug report and let us know about it.
This repository has been released under the MIT License.