You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

143 rivejä
6.1 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 Users (Profile) &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 A Form (DocType)" href="creating_doctypes.html" />
  23. <link rel="prev" title="Creating Roles" href="creating_roles.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_doctypes.html" title="Creating A Form (DocType)"
  38. accesskey="N">next</a> |</li>
  39. <li class="right" >
  40. <a href="creating_roles.html" title="Creating Roles"
  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_roles.html"
  50. title="previous chapter">Creating Roles</a></p>
  51. <h4>Next topic</h4>
  52. <p class="topless"><a href="creating_doctypes.html"
  53. title="next chapter">Creating A Form (DocType)</a></p>
  54. <h3>This Page</h3>
  55. <ul class="this-page-menu">
  56. <li><a href="_sources/creating_profiles.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-users-profile">
  79. <h1>Creating Users (Profile)<a class="headerlink" href="#creating-users-profile" title="Permalink to this headline">¶</a></h1>
  80. <p>A Profile (=user) has a unique identity in the system and can be tagged as an &#8220;onwer&#8221; to a data record.
  81. Profiles can also be assigned Roles that restrict what they can do. You can also define custom logic
  82. for a Profile</p>
  83. <p>To create a new Profile:</p>
  84. <blockquote>
  85. <ol class="arabic simple">
  86. <li>Create a new Profile via &#8220;New&#8221; on the top toolbar</li>
  87. <li>Enter the mandatory &#8220;First Name&#8221; and &#8220;Email&#8221; values</li>
  88. <li>&#8220;Save&#8221; the profile via the &#8220;Save&#8221; button</li>
  89. <li>The user will be sent an email with her random-genereated password. You can also set a custom password
  90. by clicking on the &#8220;Password&#8221; tab and setting the password.</li>
  91. <li><em>To assign a role, click on the &#8220;Roles&#8221; tab and add a &#8220;Role&#8221; in the table.</em></li>
  92. </ol>
  93. </blockquote>
  94. <p>Once a Profile is created, the user can login with the login id (email) and password.</p>
  95. <div class="admonition note">
  96. <p class="first admonition-title">Note</p>
  97. <p>Profiles are given an id that is the same as their email id. Why did we do this?</p>
  98. <blockquote class="last">
  99. <ul class="simple">
  100. <li>Email Ids are good unique identifiers. Your users may have the same first and last names,
  101. but they would have separate Email Ids</li>
  102. <li>People usually remember their email ids</li>
  103. <li>Email Ids are these days the de-facto way to define login-ids</li>
  104. </ul>
  105. </blockquote>
  106. </div>
  107. </div>
  108. </div>
  109. </div>
  110. </div>
  111. <div class="clearer"></div>
  112. </div>
  113. <div class="related">
  114. <h3>Navigation</h3>
  115. <ul>
  116. <li class="right" style="margin-right: 10px">
  117. <a href="genindex.html" title="General Index"
  118. >index</a></li>
  119. <li class="right" >
  120. <a href="modindex.html" title="Global Module Index"
  121. >modules</a> |</li>
  122. <li class="right" >
  123. <a href="creating_doctypes.html" title="Creating A Form (DocType)"
  124. >next</a> |</li>
  125. <li class="right" >
  126. <a href="creating_roles.html" title="Creating Roles"
  127. >previous</a> |</li>
  128. <li><a href="index.html">Documentation</a> &raquo;</li>
  129. <li><a href="build_app.html" >2. Building an Application</a> &raquo;</li>
  130. </ul>
  131. </div>
  132. <div class="footer">
  133. &copy; Copyright 2010, Rushabh Mehta.
  134. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.3.
  135. </div>
  136. </body>
  137. </html>