{ "info": { "author": "RedTurtle Technology", "author_email": "sviluppoplone@redturtle.it", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: Plone", "Framework :: Plone :: 3.3", "Framework :: Plone :: 4.0", "Framework :: Plone :: 4.1", "Framework :: Zope2", "Framework :: Zope3", "Intended Audience :: Developers", "Programming Language :: Python" ], "description": "Introduction\r\n============\r\n\r\nA \"view document\" action implementation for `collective.powertoken`__\r\n\r\n__ http://plone.org/products/collective.powertoken.core\r\n\r\nHow to use\r\n==========\r\n\r\nAdd this product to your Plone installation, then you will be able to register Power Tokens that\r\n\"view\" document.\r\n\r\n>>> from collective.powertoken.core.interfaces import IPowerTokenUtility\r\n>>> utility = getUtility(IPowerTokenUtility)\r\n>>> token = utility.enablePowerToken(document, 'view.viewDocument')\r\n>>> results = utility.consumeAction(document, token)\r\n>>> print results\r\n\r\n\r\nYou will get the view output as result.\r\n\r\nParameters\r\n----------\r\n\r\n``view``\r\n Call a different Zope view on the context, not the current or default ones.\r\n``cmfcallable``\r\n Call a CMF Template/skins resource on the context\r\n``setToRequest``\r\n A dict with additional values to set in the request. For example you can set ``disable_border``, or\r\n (only for Plone 4) ``disable_plone.leftcolumn`` and ``disable_plone.rightcolumn``.\r\n\r\nBoth parameter are not mandatory. Providing none of theme will call the content default view.\r\n\r\nUse case\r\n========\r\n\r\n* You can view a document, regardless of it's review state and your roles in the site.\r\n* You can call a view on a context, overriding the user security permission.\r\n\r\nAuthors\r\n=======\r\n\r\nThis product was developed by RedTurtle Technology team.\r\n\r\n.. image:: http://www.redturtle.it/redturtle_banner.png\r\n :alt: RedTurtle Technology Site\r\n :target: http://www.redturtle.it/\r\n\r\nChangelog\r\n=========\r\n\r\n0.1.0 (2012-01-11)\r\n------------------\r\n\r\n* Initial release", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://plone.org/products/collective.powertoken.core", "keywords": "plone security token plonegov view access", "license": "GPL", "maintainer": "", "maintainer_email": "", "name": "collective.powertoken.view", "package_url": "https://pypi.org/project/collective.powertoken.view/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/collective.powertoken.view/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://plone.org/products/collective.powertoken.core" }, "release_url": "https://pypi.org/project/collective.powertoken.view/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "View and content access add-ons for collective.powertoken support for Plone", "version": "0.1.0" }, "last_serial": 1771623, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "926b484cd3049d38ab20dbcb6f10ea2d", "sha256": "c4464f06ac7921455c1f7d24490177b3f9d6a31b5a05cfbc5e6316103ab0cc1e" }, "downloads": -1, "filename": "collective.powertoken.view-0.1.0.tar.gz", "has_sig": false, "md5_digest": "926b484cd3049d38ab20dbcb6f10ea2d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13051, "upload_time": "2012-01-11T09:34:05", "url": "https://files.pythonhosted.org/packages/98/d2/06ed951adedab47cafea2ff4fe2c26027ee957bf2440e579ca2dfe1308b6/collective.powertoken.view-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "926b484cd3049d38ab20dbcb6f10ea2d", "sha256": "c4464f06ac7921455c1f7d24490177b3f9d6a31b5a05cfbc5e6316103ab0cc1e" }, "downloads": -1, "filename": "collective.powertoken.view-0.1.0.tar.gz", "has_sig": false, "md5_digest": "926b484cd3049d38ab20dbcb6f10ea2d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13051, "upload_time": "2012-01-11T09:34:05", "url": "https://files.pythonhosted.org/packages/98/d2/06ed951adedab47cafea2ff4fe2c26027ee957bf2440e579ca2dfe1308b6/collective.powertoken.view-0.1.0.tar.gz" } ] }