{ "info": { "author": "Martin Aspeli", "author_email": "optilude@gmail.com", "bugtrack_url": null, "classifiers": [ "Framework :: Plone", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Introduction\n============\n\nThis package adds a patch to Plone to ensure that call catalog queries are\n'rooted' to the current navigation root (as defined by the INavigationRoot\ninterface). When installed, all catalog queries will have an implicit ``path``\nparameter that limits search results to within the current navigation root,\nunless a ``path`` or ``UID`` parameter is explicitly provided. This avoids\n\"leakage\" of search results, portlet listings and the like. If a ``UID``\nparameter is present, known content can be explicitly searched.\n\nIn this context, the navigation root must be:\n\n * A folderish object\n * That provides the INavigationRoot marker interface\n * And is a \"component site\" in the Zope 3 Component Architecture sense\n \nThe 'collective.lineage' product provides a user friendly way to create such\ntypes.\n\nThe navigation root will be kept as a thread local variable, in the same way\nthat the component site is accessible via the global `getSite()` function.\nTo get hold of the current traversed-over navigation root, you can use::\n\n from collective.rooter import getNavigationRoot\n \n current_root = getNavigationRoot()\n \nThe root may be None if no INavigationRoot has been traversed over.\n\nChangelog\n=========\n\n1.0 (2015-07-15)\n----------------\n\n- If ``UID`` is given in the catalog search keywords, don't apply the\n INavigationRoot path. This allows for explicit queries for known objects in\n other areas of the portal. Obsoletes pull-request #1.\n [thet]\n\n- PEP 8.\n [thet]\n\n\n1.0b1 (2009-03-29)\n------------------\n\n- Initial release.\n [optilude]", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/collective.rooter", "keywords": "plone navigation root", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "collective.rooter", "package_url": "https://pypi.org/project/collective.rooter/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/collective.rooter/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/collective.rooter" }, "release_url": "https://pypi.org/project/collective.rooter/1.0/", "requires_dist": null, "requires_python": null, "summary": "Tools to force catalog queries to obey the current navigation root", "version": "1.0" }, "last_serial": 1635128, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "cf0a8632e83c2130210a18878c6b9d8d", "sha256": "436873f12c1bde4c5205264d63a2d56fef1522ac62833f7c8d83dea1a314a2ac" }, "downloads": -1, "filename": "collective.rooter-1.0.tar.gz", "has_sig": false, "md5_digest": "cf0a8632e83c2130210a18878c6b9d8d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10195, "upload_time": "2015-07-15T21:45:29", "url": "https://files.pythonhosted.org/packages/df/9e/4a34cec80fd367eef5e2e28fd19fbca19f44408a58cef5b686f616c38d09/collective.rooter-1.0.tar.gz" } ], "1.0b1": [ { "comment_text": "", "digests": { "md5": "ff6b9fdcb5044882d489af09958f0309", "sha256": "18468cc06f381c1c03a4ad7270cf6ccb7f0237d0346c3e171a1dff1d6954bced" }, "downloads": -1, "filename": "collective.rooter-1.0b1.tar.gz", "has_sig": false, "md5_digest": "ff6b9fdcb5044882d489af09958f0309", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9351, "upload_time": "2009-03-29T19:33:03", "url": "https://files.pythonhosted.org/packages/fe/97/a59f9688d2ecff58e78a12c67adc273d1d4b72fa36dfac3cd4c7fe5eddc0/collective.rooter-1.0b1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cf0a8632e83c2130210a18878c6b9d8d", "sha256": "436873f12c1bde4c5205264d63a2d56fef1522ac62833f7c8d83dea1a314a2ac" }, "downloads": -1, "filename": "collective.rooter-1.0.tar.gz", "has_sig": false, "md5_digest": "cf0a8632e83c2130210a18878c6b9d8d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10195, "upload_time": "2015-07-15T21:45:29", "url": "https://files.pythonhosted.org/packages/df/9e/4a34cec80fd367eef5e2e28fd19fbca19f44408a58cef5b686f616c38d09/collective.rooter-1.0.tar.gz" } ] }