{ "info": { "author": "Therp BV, brain-tec AG, Odoo Community Association (OCA)", "author_email": "support@odoo-community.org", "bugtrack_url": null, "classifiers": [ "Framework :: Odoo", "License :: OSI Approved :: GNU Affero General Public License v3", "Programming Language :: Python" ], "description": "================\nSuspend security\n================\n\n.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n !! This file is generated by oca-gen-addon-readme !!\n !! changes will be overwritten. !!\n !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n\n.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png\n :target: https://odoo-community.org/page/development-status\n :alt: Beta\n.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png\n :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html\n :alt: License: AGPL-3\n.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--backend-lightgray.png?logo=github\n :target: https://github.com/OCA/server-backend/tree/12.0/base_suspend_security\n :alt: OCA/server-backend\n.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png\n :target: https://translation.odoo-community.org/projects/server-backend-12-0/server-backend-12-0-base_suspend_security\n :alt: Translate me on Weblate\n.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png\n :target: https://runbot.odoo-community.org/runbot/253/12.0\n :alt: Try me on Runbot\n\n|badge1| |badge2| |badge3| |badge4| |badge5| \n\nThis module was written to allow you to call code with some `uid` while being sure no security checks (`ir.model.access` and `ir.rule`) are done. In this way, it's the same as `sudo()`, but the crucial difference is that the code still runs with the original user id. This can be important for inherited code that calls workflow functions, subscribes the current user to some object, etc.\n\nUsually, you'll be in in the situation to want something like this if you inherit from a module you can't or don't want to change, and call `super()`.\n\n**Table of contents**\n\n.. contents::\n :local:\n\nInstallation\n============\n\nThis version is only valid for being used since Odoo commit\ndcc752aaabc10aee8bbccc1474b43d224b57023c (merged on 2019-02-20).\n\n\nUsage\n=====\n\nTo use this module, you need to:\n\n* depend on this module\n* call `yourmodel.suspend_security().function_to_run()`, just the same as you would use `sudo()`\n\nFor further information, please visit:\n\n* https://www.odoo.com/forum/help-1\n\nKnown issues / Roadmap\n======================\n\n* the magic works by wrapping uid in a marker class, so if some code unwraps this in the calling tree, security checks will be reenabled\n\nBug Tracker\n===========\n\nBugs are tracked on `GitHub Issues `_.\nIn case of trouble, please check there if your issue has already been reported.\nIf you spotted it first, help us smashing it by providing a detailed and welcomed\n`feedback `_.\n\nDo not contact contributors directly about support or help with technical issues.\n\nCredits\n=======\n\nAuthors\n~~~~~~~\n\n* Therp BV\n* brain-tec AG\n\nContributors\n~~~~~~~~~~~~\n\n* Holger Brunn \n* Laurent Mignon \n* Fr\u00e9d\u00e9ric Garbely \n\nMaintainers\n~~~~~~~~~~~\n\nThis module is maintained by the OCA.\n\n.. image:: https://odoo-community.org/logo.png\n :alt: Odoo Community Association\n :target: https://odoo-community.org\n\nOCA, or the Odoo Community Association, is a nonprofit organization whose\nmission is to support the collaborative development of Odoo features and\npromote its widespread use.\n\nThis module is part of the `OCA/server-backend `_ project on GitHub.\n\nYou are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "AGPL-3", "maintainer": "", "maintainer_email": "", "name": "odoo12-addon-base-suspend-security", "package_url": "https://pypi.org/project/odoo12-addon-base-suspend-security/", "platform": "", "project_url": "https://pypi.org/project/odoo12-addon-base-suspend-security/", "project_urls": null, "release_url": "https://pypi.org/project/odoo12-addon-base-suspend-security/12.0.1.0.0.99.dev6/", "requires_dist": [ "odoo (<12.1dev,>=12.0a)" ], "requires_python": ">=3.5", "summary": "Suspend security checks for a call", "version": "12.0.1.0.0.99.dev6" }, "last_serial": 5773991, "releases": { "12.0.1.0.0.99.dev3": [ { "comment_text": "", "digests": { "md5": "484e5c17ec1a23ecdaa85700ddb1d9c5", "sha256": "afba594fddce8f85818625d09ebca5f46ac53ce3250c6595fa24c2e3874f7d33" }, "downloads": -1, "filename": "odoo12_addon_base_suspend_security-12.0.1.0.0.99.dev3-py3-none-any.whl", "has_sig": false, "md5_digest": "484e5c17ec1a23ecdaa85700ddb1d9c5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 45905, "upload_time": "2019-02-22T05:54:13", "url": "https://files.pythonhosted.org/packages/8d/61/ff9f0f396523c352c14c1a5c9969a16c3ca5cb019f63cf8ede573fec2228/odoo12_addon_base_suspend_security-12.0.1.0.0.99.dev3-py3-none-any.whl" } ], "12.0.1.0.0.99.dev4": [ { "comment_text": "", "digests": { "md5": "848a54e673686161823227e88ec59509", "sha256": "b49dbb12ac8aff806a8e850af593bdad4cf5ec0b41836ad59b7f843ad3c8f68e" }, "downloads": -1, "filename": "odoo12_addon_base_suspend_security-12.0.1.0.0.99.dev4-py3-none-any.whl", "has_sig": false, "md5_digest": "848a54e673686161823227e88ec59509", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 46269, "upload_time": "2019-03-04T05:58:24", "url": "https://files.pythonhosted.org/packages/d4/55/02b1dc7aee4b7b65de490d8511ed747e8e5356d4f149f4cc59fc00f8baae/odoo12_addon_base_suspend_security-12.0.1.0.0.99.dev4-py3-none-any.whl" } ], "12.0.1.0.0.99.dev5": [ { "comment_text": "", "digests": { "md5": "90c4bcefa84a1f9356dc43448a7b08cd", "sha256": "cd59848e0f007b859d0f45bbab82f62cb57c22d01825476b2caa8efa770d3bed" }, "downloads": -1, "filename": "odoo12_addon_base_suspend_security-12.0.1.0.0.99.dev5-py3-none-any.whl", "has_sig": false, "md5_digest": "90c4bcefa84a1f9356dc43448a7b08cd", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 46260, "upload_time": "2019-07-30T05:42:33", "url": "https://files.pythonhosted.org/packages/f2/0e/f97a98ab726adceaa0f2b7f15caf36097915df50160fd207124e9694ba81/odoo12_addon_base_suspend_security-12.0.1.0.0.99.dev5-py3-none-any.whl" } ], "12.0.1.0.0.99.dev6": [ { "comment_text": "", "digests": { "md5": "31c238ff29fabe8aec58fd1903643b50", "sha256": "d4f39ebaee7cf98a3024f392d7d34352ea971e995a1f24cfecc6abae72bd2488" }, "downloads": -1, "filename": "odoo12_addon_base_suspend_security-12.0.1.0.0.99.dev6-py3-none-any.whl", "has_sig": false, "md5_digest": "31c238ff29fabe8aec58fd1903643b50", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 46350, "upload_time": "2019-09-03T05:12:34", "url": "https://files.pythonhosted.org/packages/31/ba/bf8e43ea9c699378aa395cacd3cd242a67cda35ce7aa64437d0e1ef2fff1/odoo12_addon_base_suspend_security-12.0.1.0.0.99.dev6-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "31c238ff29fabe8aec58fd1903643b50", "sha256": "d4f39ebaee7cf98a3024f392d7d34352ea971e995a1f24cfecc6abae72bd2488" }, "downloads": -1, "filename": "odoo12_addon_base_suspend_security-12.0.1.0.0.99.dev6-py3-none-any.whl", "has_sig": false, "md5_digest": "31c238ff29fabe8aec58fd1903643b50", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 46350, "upload_time": "2019-09-03T05:12:34", "url": "https://files.pythonhosted.org/packages/31/ba/bf8e43ea9c699378aa395cacd3cd242a67cda35ce7aa64437d0e1ef2fff1/odoo12_addon_base_suspend_security-12.0.1.0.0.99.dev6-py3-none-any.whl" } ] }