{ "info": { "author": "Odoo Community Association (OCA),Therp BV", "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": "==============\nDynamic groups\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--auth-lightgray.png?logo=github\n :target: https://github.com/OCA/server-auth/tree/11.0/auth_dynamic_groups\n :alt: OCA/server-auth\n.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png\n :target: https://translation.odoo-community.org/projects/server-auth-11-0/server-auth-11-0-auth_dynamic_groups\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/251/11.0\n :alt: Try me on Runbot\n\n|badge1| |badge2| |badge3| |badge4| |badge5| \n\nThis module allows defining groups whose membership is a condition expressed as\npython code. For every user, it is evaluated during login if she belongs to\nthe group or not.\n\n**Table of contents**\n\n.. contents::\n :local:\n\nConfiguration\n=============\n\nCheck `Dynamic` on a group you want to be dynamic. Now fill in the condition,\nusing `user` which is a browse record of the user in question that evaluates\ntruthy if the user is supposed to be a member of the group and falsy if not.\n\nThere is a constraint on the field to check for validity if this expression.\nWhen you're satisfied, click the button `Evaluate` to prefill the group's\nmembers. The condition will be checked now for every user who logs in.\n\nUsage\n=====\n\nWe have a group called `Amsterdam` and want it to contain all users from\ncity of Amsterdam. So we use the membership condition\n\n.. code:: python\n\n user.partner_id.city == 'Amsterdam'\n\nNow we can be sure every user living in this city is in the right group, and we\ncan start assigning local menus to it, adjust permissions, etc. Keep in mind\nthat view overrides can also be restricted by a group id, this gives a lot of\npossibilities to dynamically adapt views based on arbitrary properties\nreachable via the user record.\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\nContributors\n~~~~~~~~~~~~\n\n* Holger Brunn \n* Ronald Portier \n\nOther credits\n~~~~~~~~~~~~~\n\n* Odoo Community Association: `Icon `_.\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-auth `_ 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": "https://github.com/OCA/server-auth", "keywords": "", "license": "AGPL-3", "maintainer": "", "maintainer_email": "", "name": "odoo11-addon-auth-dynamic-groups", "package_url": "https://pypi.org/project/odoo11-addon-auth-dynamic-groups/", "platform": "", "project_url": "https://pypi.org/project/odoo11-addon-auth-dynamic-groups/", "project_urls": { "Homepage": "https://github.com/OCA/server-auth" }, "release_url": "https://pypi.org/project/odoo11-addon-auth-dynamic-groups/11.0.1.0.0.99.dev5/", "requires_dist": [ "odoo (<11.1dev,>=11.0a)" ], "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "summary": "Have membership conditions for certain groups", "version": "11.0.1.0.0.99.dev5" }, "last_serial": 5603364, "releases": { "11.0.1.0.0.99.dev3": [ { "comment_text": "", "digests": { "md5": "896cb4efc21546faa20c3c16fd97e14b", "sha256": "8cfc3d1133f535d81e1b9ce14fd57ef0593474bf22df9eec3c7b4a797c256f48" }, "downloads": -1, "filename": "odoo11_addon_auth_dynamic_groups-11.0.1.0.0.99.dev3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "896cb4efc21546faa20c3c16fd97e14b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 46417, "upload_time": "2019-07-10T04:31:41", "url": "https://files.pythonhosted.org/packages/46/3b/d1adf13bda55542096ebd427a3842e375f8d2c04924586af2ad6bfc752d7/odoo11_addon_auth_dynamic_groups-11.0.1.0.0.99.dev3-py2.py3-none-any.whl" } ], "11.0.1.0.0.99.dev4": [ { "comment_text": "", "digests": { "md5": "a54addcc73701ff54f6f49c13afa81c5", "sha256": "22ba02f1d2644138df0bb0ba5dc8255dc7b61c47b4598987d63bf5fcfe09c45d" }, "downloads": -1, "filename": "odoo11_addon_auth_dynamic_groups-11.0.1.0.0.99.dev4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a54addcc73701ff54f6f49c13afa81c5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 46772, "upload_time": "2019-07-21T04:31:45", "url": "https://files.pythonhosted.org/packages/ba/0d/389a56f1e389e2c3a049aa230d59a14216330f9d6aef855024b030fe58b2/odoo11_addon_auth_dynamic_groups-11.0.1.0.0.99.dev4-py2.py3-none-any.whl" } ], "11.0.1.0.0.99.dev5": [ { "comment_text": "", "digests": { "md5": "b2d1498e11dba155a2e89ba0a8684fef", "sha256": "22edcba26f5e7ace4f1e8c1cfcdf190009f93b6a13875d5de7fc54a27fbeb973" }, "downloads": -1, "filename": "odoo11_addon_auth_dynamic_groups-11.0.1.0.0.99.dev5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b2d1498e11dba155a2e89ba0a8684fef", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 46773, "upload_time": "2019-07-30T04:33:41", "url": "https://files.pythonhosted.org/packages/85/cd/026fad04b53e7618deefc8295f16a84efc8df3a4df364cabf81eb904a8a4/odoo11_addon_auth_dynamic_groups-11.0.1.0.0.99.dev5-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b2d1498e11dba155a2e89ba0a8684fef", "sha256": "22edcba26f5e7ace4f1e8c1cfcdf190009f93b6a13875d5de7fc54a27fbeb973" }, "downloads": -1, "filename": "odoo11_addon_auth_dynamic_groups-11.0.1.0.0.99.dev5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b2d1498e11dba155a2e89ba0a8684fef", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 46773, "upload_time": "2019-07-30T04:33:41", "url": "https://files.pythonhosted.org/packages/85/cd/026fad04b53e7618deefc8295f16a84efc8df3a4df364cabf81eb904a8a4/odoo11_addon_auth_dynamic_groups-11.0.1.0.0.99.dev5-py2.py3-none-any.whl" } ] }