Workspaceperms
Manage the availability of workspaces within Frappe/ ERPNext (sidebar) based on user-roles
- Author: pstuhlmueller
- Repository: https://github.com/pstuhlmueller/workspaceperms
- GitHub stars: 29
- Forks: 39
- License: GPL-3.0
- Category: Other
- Maintenance: Unmaintained
Install Workspaceperms
bench get-app https://github.com/pstuhlmueller/workspaceperms
Add the Frappe Gems badge to your README
Maintain Workspaceperms? Paste this into your README:
[](https://frappegems.com/gems/apps/pstuhlmueller/workspaceperms)
About Workspaceperms
Workspace Permissions
Manage the availability of workspaces within Frappe/ ERPNext (sidebar) based on user-roles.
Features
Configure foreach workspace, which roles can access / can not access a workspace
- As a whitelist (means, we manage roles, that get access) -> “Visible To Roles”
- As a blacklist (means, we manage roles, that can NOT get access) -> “Hidden to Roles”
- Special handling for the "Administrator"-User, as we don't want to restrict anything for that user.
- That user won't get affected by the configuration, even if he has one of the black-listed roles assigned
- Hide section-names, if there are no more workspaces available for the same
ATTENTION
This app will only work with a modification to the Frappe-Core, frappe/frappe/boot.py. Right now there is no other option to get this functionality integrated.
We have included a script that will "Monkey Patch" the relevant file/method. There is no need to manually modify any file. Therefore it is also no big deal to update Frappe later on - after updating (what would remove the modification), you just need to make sure to execute the given "seeds" once again.
Dependency
- Frappe/ ERPNext v13
Install on Self-Hosted
Remeber to replace
MY_SITEwith your site name.cd frappe-bench bench get-app https://github.com/pstuhlmueller/workspaceperms.git bench --site MY_SITE install-app workspaceperms # This will do the modification within frappe/frappe/boot.py bench execute workspaceperms.seeds.execute # You need to run `bench restart` once, as otherwise the modification to boot.py won't take effect bench restartConfiguration
- Go (via awesomebar) into
"Workspace Perms List" - Add a new
Workspace Permsdocument - Select the relevant workspace
- Set the permissions ("Visible To Roles" and/or "Hidden to Roles") as relevant for your scenario
Hint: Instead of manually adding each Workspace Perm manually, you could also think about preparing a xlsx-file and go with the "Data Import"..
License
GPLv3
Related Other apps for Frappe & ERPNext
- Erpnext — Free and Open Source Enterprise Resource Planning (ERP)
- Helpdesk — Modern, Streamlined, Free and Open Source Customer Service Software
- Print Designer — Visual print designer for Frappe / ERPNext
- Ctr — CTR模型代码和学习笔记总结
- Whitelabel — Whitelabel ERPNext
- Fossunited — fossunited.org
- Helm — Helm Chart Repository for Frappe/ERPNext
- Frappe Attachments S3 — A frappe app to upload file attachments in doctypes to s3.