A small plugin for Frappe that enforces and manages the session defaults popup.
- Frappe >= v13.0.0
- Get the plugin from Github
(Required only once)
bench get-app https://github.com/kid1194/frappe-strict-session-defaults
- Install the plugin on any instance/site you want
bench --site [sitename] install-app strict_session_defaults
- Check the usage section below
- Go to the app directory (frappe-bench/apps/strict_session_defaults) and execute:
git pull
- Go back to the frappe-bench directory and execute:
bench --site [sitename] migrate
- In case you need to restart bench, execute:
bench restart
- Uninstall the plugin from the instance/site
bench --site [sitename] uninstall-app strict_session_defaults
- Uninstall the plugin from bench
bench remove-app strict_session_defaults
- 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
MIT