No description
Find a file
Marica 90f8f945b4
feat: Disable Sharing globally (#20318)
* feat: Disable Sharing globally

- Checkbox in System Settings
- If disabled, avoid share UI render
- Share APIs return None (non-obstructing) if share APIs are invoked

* feat: Settings checkbox must toggle share permission globally

- Treat feature like a perm toggler. Essentially noone is allowed to explicity share anything
- Implicit sharing via `ignore_share_permissions` is allowed. Devs can decide where sharing should happen under the hood
- UI is made read only and not hidden. Users must see who doc is already shared with
- Make sure perm APIs used by share feature return false if sharing is disabled
- Rename checkbox to `Disable Document Sharing`

* test: (server side) Impact of disabling sharing on APIs

- Also, fix missed system setting rename in `assign_to`

* fix: Inform assigner if assignee lacks perms and sharing is disabled

- misc: readable conditions

* fix: throw instead of msgprint

* fix: Typo and appropriate message for `throw`

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>
2023-03-28 18:13:37 +05:30
.github ci: copy docs checker from erpnext (#20441) 2023-03-24 08:53:34 +05:30
cypress test: fixed failing UI test 2023-03-23 17:53:18 +05:30
esbuild Revert "fix: allow backtick in HTML templates as well" 2022-10-12 18:50:12 +05:30
frappe feat: Disable Sharing globally (#20318) 2023-03-28 18:13:37 +05:30
.editorconfig chore: editorconfig handle doctype.json files 2023-01-11 17:08:48 +05:30
.eslintignore fix: Miscellaneous changes (#12343) 2021-02-08 12:05:37 +05:30
.eslintrc refactor: Replace fluxify with vuex 2022-07-05 19:45:17 +05:30
.flake8 chore(flake8): ignore B028 (#19612) 2023-01-17 10:55:54 +05:30
.git-blame-ignore-revs chore: ignore fluff change in blame 2022-08-22 11:35:53 +05:30
.gitignore fix: Add missing licences for vendored library 2022-07-04 08:29:56 +05:30
.mergify.yml chore(mergify): remove dead branches 2023-02-10 21:28:30 +05:30
.pre-commit-config.yaml ci: bump isort to 5.12.0 (#19836) 2023-01-30 15:11:55 +05:30
.releaserc ci: better release notes generation (#19380) 2022-12-21 12:14:35 +05:30
attributions.md refactor: Itenticon 2022-08-11 23:53:21 +05:30
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2017-09-12 09:14:34 +05:30
codecov.yml ci: update codecov.yml flags 2023-01-10 13:19:12 +05:30
CODEOWNERS chore: remove even_streaming from CODEOWNERS 2022-08-26 00:39:41 +05:30
commitlint.config.js style: format JS files with prettier 2022-08-04 14:51:01 +05:30
cypress.config.js test(UI): use non-admin user for tests 2022-09-10 12:48:33 +05:30
generate_bootstrap_theme.js style: format JS files with prettier 2022-08-04 14:51:01 +05:30
hooks.md chore!: remove dead hooks app_icon & app_color 2022-05-10 14:41:01 +05:30
LICENSE chore: Update copyright until date to 2021 2021-09-03 12:19:15 +05:30
node_utils.js style: format JS files with prettier 2022-08-04 14:51:01 +05:30
package.json build(deps): Bump frappe-datatable to 1.17.2 2023-03-03 11:51:17 +05:30
pyproject.toml build: bump pymysql (#20478) 2023-03-28 13:04:27 +05:30
README.md chore: use merged action url 2023-03-08 16:32:30 +05:30
SECURITY.md Update SECURITY.md 2023-01-10 16:49:44 +05:30
setup.py fix: Add temporary backwards compatible setup.py 2022-06-14 18:21:48 +05:30
sider.yml chore(sider): add sider default config for flake8 + ignore tab errors (W191) (#12587) 2021-03-16 17:07:41 +05:30
socketio.js perf: unsubscribe from list_update events (#20423) 2023-03-22 10:02:37 +05:30
yarn.lock build(deps): Bump frappe-datatable to 1.17.2 2023-03-03 11:51:17 +05:30


a web framework with "batteries included"

it's pronounced - fra-pay

Full-stack web application framework that uses Python and MariaDB on the server side and a tightly integrated client side library. Built for ERPNext.

Login for the PWD site: (username: Administrator, password: admin)

Table of Contents

Installation

Contributing

  1. Code of Conduct
  2. Contribution Guidelines
  3. Security Policy
  4. Translations

Resources

  1. frappeframework.com - Official documentation of the Frappe Framework.
  2. frappe.school - Pick from the various courses by the maintainers or from the community.

License

This repository has been released under the MIT License.

By contributing to Frappe, you agree that your contributions will be licensed under its MIT License.