collective.allowsearch Package Readme
Overview
Provides an interface and a default adapter to allow users to search the catalog independent of the View permission.
Installation
Add this package to your buildout or policy package, or add a ZCML slug for it to your etc/site.zcml.
Usage
Simply mark any content which you want to be visible in searches for anonymous users with the IAllowAnonymousSearchMarker interface.
This can be done programmatically or using ZCML like:
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:five="http://namespaces.zope.org/five"
i18n_domain="collective.allowsearch">
<include package="collective.allowsearch" />
<!--
EXAMPLE: Allow all ATDocument objects to be found by Anonymous users.
NOTE: This does _NOT_ change the View permissions in any way.
-->
<five:implements
class="Products.ATContentTypes.content.document.ATDocument"
interface="collective.allowsearch.interfaces.IAllowAnonymousSearchMarker"
/>
</configure>
That’s it. See the package’s doctest for more information.
Metadata
Release files for collective.allowsearch 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| collective.allowsearch-0.1.4.tar.gz | 11.2 kB | Without provenance | Details for collective.allowsearch-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| collective.allowsearch-0.1.4-py2.4.egg | Legacy Egg format | - | - | Details for collective.allowsearch-0.1.4-py2.4.egg |
Total release size: 25.5 kB
Release files / collective.allowsearch-0.1.4.tar.gz
| Download URL | collective.allowsearch-0.1.4.tar.gz |
|---|---|
| Size | 11.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7d0867b76aff9489ac09b452742ac271e8022df1fd1de9310a0c9e2795fd669d
|
|
BLAKE2b-256 checksum How to use checksums |
536115d84c4dc2a1b40e88380c4b12da9601a62ce7a399e9c907cc9e21c79ce2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / collective.allowsearch-0.1.4-py2.4.egg
| Download URL | collective.allowsearch-0.1.4-py2.4.egg |
|---|---|
| Size | 14.3 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
6406c21c50540c123a9a4ed18de10fa77637d09dd5655c503e0b99c60571bbb9
|
|
BLAKE2b-256 checksum How to use checksums |
7fd091906438aa717eb240e61bf4448a848057669af7b34de9f66e505e05a543
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for collective.allowsearch 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.