No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 
 
 

139 líneas
5.9 KiB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title>Creating Roles &mdash; Documentation</title>
  7. <link rel="stylesheet" href="_static/sphinxdoc.css" type="text/css" />
  8. <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
  9. <script type="text/javascript">
  10. var DOCUMENTATION_OPTIONS = {
  11. URL_ROOT: '',
  12. VERSION: '',
  13. COLLAPSE_MODINDEX: false,
  14. FILE_SUFFIX: '.html',
  15. HAS_SOURCE: true
  16. };
  17. </script>
  18. <script type="text/javascript" src="_static/jquery.js"></script>
  19. <script type="text/javascript" src="_static/doctools.js"></script>
  20. <link rel="top" title="Documentation" href="index.html" />
  21. <link rel="up" title="2. Building an Application" href="build_app.html" />
  22. <link rel="next" title="Creating Users (Profile)" href="creating_profiles.html" />
  23. <link rel="prev" title="Creating Entities" href="creating_entities.html" />
  24. </head>
  25. <body>
  26. <div style="background-color: #FFF; text-align: left; padding: 8px 0px"><img src="_static/banner300910.gif"></div>
  27. <div class="related">
  28. <h3>Navigation</h3>
  29. <ul>
  30. <li class="right" style="margin-right: 10px">
  31. <a href="genindex.html" title="General Index"
  32. accesskey="I">index</a></li>
  33. <li class="right" >
  34. <a href="modindex.html" title="Global Module Index"
  35. accesskey="M">modules</a> |</li>
  36. <li class="right" >
  37. <a href="creating_profiles.html" title="Creating Users (Profile)"
  38. accesskey="N">next</a> |</li>
  39. <li class="right" >
  40. <a href="creating_entities.html" title="Creating Entities"
  41. accesskey="P">previous</a> |</li>
  42. <li><a href="index.html">Documentation</a> &raquo;</li>
  43. <li><a href="build_app.html" accesskey="U">2. Building an Application</a> &raquo;</li>
  44. </ul>
  45. </div>
  46. <div class="sphinxsidebar">
  47. <div class="sphinxsidebarwrapper">
  48. <h4>Previous topic</h4>
  49. <p class="topless"><a href="creating_entities.html"
  50. title="previous chapter">Creating Entities</a></p>
  51. <h4>Next topic</h4>
  52. <p class="topless"><a href="creating_profiles.html"
  53. title="next chapter">Creating Users (Profile)</a></p>
  54. <h3>This Page</h3>
  55. <ul class="this-page-menu">
  56. <li><a href="_sources/creating_roles.txt"
  57. rel="nofollow">Show Source</a></li>
  58. </ul>
  59. <div id="searchbox" style="display: none">
  60. <h3>Quick search</h3>
  61. <form class="search" action="search.html" method="get">
  62. <input type="text" name="q" size="18" />
  63. <input type="submit" value="Go" />
  64. <input type="hidden" name="check_keywords" value="yes" />
  65. <input type="hidden" name="area" value="default" />
  66. </form>
  67. <p class="searchtip" style="font-size: 90%">
  68. Enter search terms or a module, class or function name.
  69. </p>
  70. </div>
  71. <script type="text/javascript">$('#searchbox').show(0);</script>
  72. </div>
  73. </div>
  74. <div class="document">
  75. <div class="documentwrapper">
  76. <div class="bodywrapper">
  77. <div class="body">
  78. <div class="section" id="creating-roles">
  79. <h1>Creating Roles<a class="headerlink" href="#creating-roles" title="Permalink to this headline">¶</a></h1>
  80. <p>Roles are assigned to users so that you can define a group of users and set permission (or other) rules.</p>
  81. <blockquote>
  82. <ol class="arabic simple">
  83. <li>To create a new role, click &#8220;New&#8221; on the top toolbar and select &#8220;Role&#8221;</li>
  84. <li>Give the Role name, use descriptive names here like - &#8220;Contact Manager&#8221;</li>
  85. <li>Set the module, (use the standard; if you want create a new module, go ahead!)</li>
  86. <li>Click on the green &#8220;Save&#8221; button</li>
  87. </ol>
  88. </blockquote>
  89. <p>Your new Roles is created! To check, click on the &#8220;Search&#8221; button on the top toolbar and select &#8220;Role&#8221;
  90. Click on &#8220;Search&#8221; and see that your new Role is added to the list of already existing roles:</p>
  91. <div class="admonition note">
  92. <p class="first admonition-title">Note</p>
  93. <p>Pre-defined roles. There are 3 basic roles that are pre-defined in the system. It is suggested,
  94. you leave them as it is!</p>
  95. <blockquote class="last">
  96. <ol class="arabic simple">
  97. <li>Administrator: Role given to the application builder / maintainer</li>
  98. <li>All: All logged in users have the role &#8220;All&#8221;</li>
  99. <li>Guest: Users who are not yet logged in.</li>
  100. </ol>
  101. </blockquote>
  102. </div>
  103. </div>
  104. </div>
  105. </div>
  106. </div>
  107. <div class="clearer"></div>
  108. </div>
  109. <div class="related">
  110. <h3>Navigation</h3>
  111. <ul>
  112. <li class="right" style="margin-right: 10px">
  113. <a href="genindex.html" title="General Index"
  114. >index</a></li>
  115. <li class="right" >
  116. <a href="modindex.html" title="Global Module Index"
  117. >modules</a> |</li>
  118. <li class="right" >
  119. <a href="creating_profiles.html" title="Creating Users (Profile)"
  120. >next</a> |</li>
  121. <li class="right" >
  122. <a href="creating_entities.html" title="Creating Entities"
  123. >previous</a> |</li>
  124. <li><a href="index.html">Documentation</a> &raquo;</li>
  125. <li><a href="build_app.html" >2. Building an Application</a> &raquo;</li>
  126. </ul>
  127. </div>
  128. <div class="footer">
  129. &copy; Copyright 2010, Rushabh Mehta.
  130. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.3.
  131. </div>
  132. </body>
  133. </html>