Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-release > by-pkgid > 16b6c7fca2fc9f56193b382cc05af140 > files > 195

python3-zope-component-4.4.1-3.mga7.noarch.rpm


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Security APIs &#8212; zope.component 4.4.1 documentation</title>
    <link rel="stylesheet" href="../_static/alabaster.css" type="text/css" />
    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
    <script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
    <script type="text/javascript" src="../_static/jquery.js"></script>
    <script type="text/javascript" src="../_static/underscore.js"></script>
    <script type="text/javascript" src="../_static/doctools.js"></script>
    <script type="text/javascript" src="../_static/language_data.js"></script>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="Persistent Registries" href="persistent.html" />
    <link rel="prev" title="Interface Registration APIs" href="interface.html" />
   
  <link rel="stylesheet" href="../_static/custom.css" type="text/css" />
  
  <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />

  </head><body>
  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body" role="main">
            
  <div class="section" id="security-apis">
<h1>Security APIs<a class="headerlink" href="#security-apis" title="Permalink to this headline">¶</a></h1>
<p>If a permission is provided when wrapping the adapter, it will be
wrapped in a LocatingAdapterFactory.</p>
<p>If both locate and trusted are False and a non-public
permission is provided, then the factory is wrapped into a
LocatingUntrustedAdapterFactory:</p>
<p>If a PublicPermission is provided, then the factory is not touched.</p>
<p>Same for CheckerPublic:</p>
<p>If the permission is None, the factory isn’t touched:</p>
<p>If the factory is trusted and a no permission is provided then the
adapter is wrapped into a TrustedAdapterFactory:</p>
<p>Same for PublicPermission:</p>
<p>Same for CheckerPublic:</p>
<p>If the factory is trusted and a locate is true, then the
adapter is wrapped into a LocatingTrustedAdapterFactory:</p>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
<h1 class="logo"><a href="../index.html">zope.component</a></h1>








<h3>Navigation</h3>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../narr.html">Zope Component Architecture</a></li>
<li class="toctree-l1"><a class="reference internal" href="../socketexample.html">The Zope 3 Component Architecture (Socket Example)</a></li>
<li class="toctree-l1"><a class="reference internal" href="../event.html">Events</a></li>
<li class="toctree-l1"><a class="reference internal" href="../factory.html">Factories</a></li>
<li class="toctree-l1"><a class="reference internal" href="../persistentregistry.html">Persistent Component Management</a></li>
<li class="toctree-l1"><a class="reference internal" href="../zcml.html">ZCML directives</a></li>
<li class="toctree-l1"><a class="reference internal" href="../configure.html">Package configuration</a></li>
<li class="toctree-l1"><a class="reference internal" href="../hooks.html">The current component registry</a></li>
<li class="toctree-l1"><a class="reference internal" href="../testlayer.html">Layers</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../api.html"><code class="docutils literal notranslate"><span class="pre">zope.component</span></code> API Reference</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="interfaces.html">Interface Definitions</a></li>
<li class="toctree-l2"><a class="reference internal" href="sitemanager.html">Site Manager APIs</a></li>
<li class="toctree-l2"><a class="reference internal" href="utility.html">Utility Registration APIs</a></li>
<li class="toctree-l2"><a class="reference internal" href="adapter.html">Adapter Registration APIs</a></li>
<li class="toctree-l2"><a class="reference internal" href="factory.html">Factory APIs</a></li>
<li class="toctree-l2"><a class="reference internal" href="interface.html">Interface Registration APIs</a></li>
<li class="toctree-l2 current"><a class="current reference internal" href="#">Security APIs</a></li>
<li class="toctree-l2"><a class="reference internal" href="persistent.html">Persistent Registries</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../hacking.html">Hacking on <code class="docutils literal notranslate"><span class="pre">zope.component</span></code></a></li>
</ul>

<div class="relations">
<h3>Related Topics</h3>
<ul>
  <li><a href="../index.html">Documentation overview</a><ul>
  <li><a href="../api.html"><code class="docutils literal notranslate"><span class="pre">zope.component</span></code> API Reference</a><ul>
      <li>Previous: <a href="interface.html" title="previous chapter">Interface Registration APIs</a></li>
      <li>Next: <a href="persistent.html" title="next chapter">Persistent Registries</a></li>
  </ul></li>
  </ul></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
  <h3>Quick search</h3>
    <div class="searchformwrapper">
    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    </div>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="footer">
      &copy;Zope Foundation and Contributors.
      
      |
      Powered by <a href="http://sphinx-doc.org/">Sphinx 1.8.3</a>
      &amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.8</a>
      
      |
      <a href="../_sources/api/security.rst.txt"
          rel="nofollow">Page source</a>
    </div>

    

    
  </body>
</html>