aboutsummaryrefslogtreecommitdiff
path: root/srcs/phpmyadmin/doc/html/privileges.html
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-01-09 10:55:03 +0100
committerCharles <sircharlesaze@gmail.com>2020-01-09 13:09:38 +0100
commit04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa (patch)
tree5c691241355c943a3c68ddb06b8cf8c60aa11319 /srcs/phpmyadmin/doc/html/privileges.html
parent7e0d85db834d6351ed85d01e5126ac31dc510b86 (diff)
downloadft_server-04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa.tar.gz
ft_server-04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa.tar.bz2
ft_server-04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa.zip
phpmyadmin working
Diffstat (limited to 'srcs/phpmyadmin/doc/html/privileges.html')
-rw-r--r--srcs/phpmyadmin/doc/html/privileges.html188
1 files changed, 188 insertions, 0 deletions
diff --git a/srcs/phpmyadmin/doc/html/privileges.html b/srcs/phpmyadmin/doc/html/privileges.html
new file mode 100644
index 0000000..ba4c08c
--- /dev/null
+++ b/srcs/phpmyadmin/doc/html/privileges.html
@@ -0,0 +1,188 @@
+<!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="Content-Type" content="text/html; charset=utf-8" />
+
+ <title>User management &#8212; phpMyAdmin 5.0.1 documentation</title>
+
+ <link rel="stylesheet" href="_static/classic.css" type="text/css" />
+ <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
+
+ <script type="text/javascript">
+ var DOCUMENTATION_OPTIONS = {
+ URL_ROOT: './',
+ VERSION: '5.0.1',
+ COLLAPSE_INDEX: false,
+ FILE_SUFFIX: '.html',
+ HAS_SOURCE: true
+ };
+ </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>
+ <link rel="index" title="Index" href="genindex.html" />
+ <link rel="search" title="Search" href="search.html" />
+ <link rel="copyright" title="Copyright" href="copyright.html" />
+ <link rel="top" title="phpMyAdmin 5.0.1 documentation" href="index.html" />
+ <link rel="up" title="User Guide" href="user.html" />
+ <link rel="next" title="Relations" href="relations.html" />
+ <link rel="prev" title="Bookmarks" href="bookmarks.html" />
+ </head>
+ <body role="document">
+ <div class="related" role="navigation" aria-label="related navigation">
+ <h3>Navigation</h3>
+ <ul>
+ <li class="right" style="margin-right: 10px">
+ <a href="genindex.html" title="General Index"
+ accesskey="I">index</a></li>
+ <li class="right" >
+ <a href="relations.html" title="Relations"
+ accesskey="N">next</a> |</li>
+ <li class="right" >
+ <a href="bookmarks.html" title="Bookmarks"
+ accesskey="P">previous</a> |</li>
+ <li class="nav-item nav-item-0"><a href="index.html">phpMyAdmin 5.0.1 documentation</a> &#187;</li>
+ <li class="nav-item nav-item-1"><a href="user.html" accesskey="U">User Guide</a> &#187;</li>
+ </ul>
+ </div>
+
+ <div class="document">
+ <div class="documentwrapper">
+ <div class="bodywrapper">
+ <div class="body" role="main">
+
+ <div class="section" id="user-management">
+<h1>User management<a class="headerlink" href="#user-management" title="Permalink to this headline">¶</a></h1>
+<p>User management is the process of controlling which users are allowed to
+connect to the MySQL server and what permissions they have on each database.
+phpMyAdmin does not handle user management, rather it passes the username and
+password on to MySQL, which then determines whether a user is permitted to
+perform a particular action. Within phpMyAdmin, administrators have full
+control over creating users, viewing and editing privileges for existing users,
+and removing users.</p>
+<p>Within phpMyAdmin, user management is controlled via the <span class="guilabel">Users</span> link
+from the main page. Users can be created, edited, and removed.</p>
+<div class="section" id="creating-a-new-user">
+<h2>Creating a new user<a class="headerlink" href="#creating-a-new-user" title="Permalink to this headline">¶</a></h2>
+<p>To create a new user, click the <span class="guilabel">Add a new user</span> link near the bottom
+of the <span class="guilabel">Users</span> page (you must be a &#8220;superuser&#8221;, e.g., user &#8220;root&#8221;).
+Use the textboxes and drop-downs to configure the user to your particular
+needs. You can then select whether to create a database for that user and grant
+specific global privileges. Once you&#8217;ve created the user (by clicking Go), you
+can define that user&#8217;s permissions on a specific database (don&#8217;t grant global
+privileges in that case). In general, users do not need any global privileges
+(other than USAGE), only permissions for their specific database.</p>
+</div>
+<div class="section" id="editing-an-existing-user">
+<h2>Editing an existing user<a class="headerlink" href="#editing-an-existing-user" title="Permalink to this headline">¶</a></h2>
+<p>To edit an existing user, simply click the pencil icon to the right of that
+user in the <span class="guilabel">Users</span> page. You can then edit their global- and
+database-specific privileges, change their password, or even copy those
+privileges to a new user.</p>
+</div>
+<div class="section" id="deleting-a-user">
+<h2>Deleting a user<a class="headerlink" href="#deleting-a-user" title="Permalink to this headline">¶</a></h2>
+<p>From the <span class="guilabel">Users</span> page, check the checkbox for the user you wish to
+remove, select whether or not to also remove any databases of the same name (if
+they exist), and click Go.</p>
+</div>
+<div class="section" id="assigning-privileges-to-user-for-a-specific-database">
+<h2>Assigning privileges to user for a specific database<a class="headerlink" href="#assigning-privileges-to-user-for-a-specific-database" title="Permalink to this headline">¶</a></h2>
+<p>Users are assigned to databases by editing the user record (from the
+<span class="guilabel">User accounts</span> link on the home page).
+If you are creating a user specifically for a given table
+you will have to create the user first (with no global privileges) and then go
+back and edit that user to add the table and privileges for the individual
+table.</p>
+</div>
+<div class="section" id="configurable-menus-and-user-groups">
+<span id="configurablemenus"></span><h2>Configurable menus and user groups<a class="headerlink" href="#configurable-menus-and-user-groups" title="Permalink to this headline">¶</a></h2>
+<p>By enabling <span class="target" id="index-0"></span><a class="reference internal" href="config.html#cfg_Servers_usergroups"><code class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['usergroups']</span></code></a> and
+<span class="target" id="index-1"></span><a class="reference internal" href="config.html#cfg_Servers_usergroups"><code class="xref config config-option docutils literal"><span class="pre">$cfg['Servers'][$i]['usergroups']</span></code></a> you can customize what users
+will see in the phpMyAdmin navigation.</p>
+<div class="admonition warning">
+<p class="first admonition-title">Warning</p>
+<p class="last">This feature only limits what a user sees, he is still able to use all the
+functions. So this can not be considered as a security limitation. Should
+you want to limit what users can do, use MySQL privileges to achieve that.</p>
+</div>
+<p>With this feature enabled, the <span class="guilabel">User accounts</span> management interface gains
+a second tab for managing <span class="guilabel">User groups</span>, where you can define what each
+group will view (see image below) and you can then assign each user to one of
+these groups. Users will be presented with a simplified user interface, which might be
+useful for inexperienced users who could be overwhelmed by all the features
+phpMyAdmin provides.</p>
+<img alt="_images/usergroups.png" src="_images/usergroups.png" />
+</div>
+</div>
+
+
+ </div>
+ </div>
+ </div>
+ <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
+ <div class="sphinxsidebarwrapper">
+ <h3><a href="index.html">Table Of Contents</a></h3>
+ <ul>
+<li><a class="reference internal" href="#">User management</a><ul>
+<li><a class="reference internal" href="#creating-a-new-user">Creating a new user</a></li>
+<li><a class="reference internal" href="#editing-an-existing-user">Editing an existing user</a></li>
+<li><a class="reference internal" href="#deleting-a-user">Deleting a user</a></li>
+<li><a class="reference internal" href="#assigning-privileges-to-user-for-a-specific-database">Assigning privileges to user for a specific database</a></li>
+<li><a class="reference internal" href="#configurable-menus-and-user-groups">Configurable menus and user groups</a></li>
+</ul>
+</li>
+</ul>
+
+ <h4>Previous topic</h4>
+ <p class="topless"><a href="bookmarks.html"
+ title="previous chapter">Bookmarks</a></p>
+ <h4>Next topic</h4>
+ <p class="topless"><a href="relations.html"
+ title="next chapter">Relations</a></p>
+ <div role="note" aria-label="source link">
+ <h3>This Page</h3>
+ <ul class="this-page-menu">
+ <li><a href="_sources/privileges.txt"
+ rel="nofollow">Show Source</a></li>
+ </ul>
+ </div>
+<div id="searchbox" style="display: none" role="search">
+ <h3>Quick search</h3>
+ <form class="search" action="search.html" method="get">
+ <div><input type="text" name="q" /></div>
+ <div><input type="submit" value="Go" /></div>
+ <input type="hidden" name="check_keywords" value="yes" />
+ <input type="hidden" name="area" value="default" />
+ </form>
+</div>
+<script type="text/javascript">$('#searchbox').show(0);</script>
+ </div>
+ </div>
+ <div class="clearer"></div>
+ </div>
+ <div class="related" role="navigation" aria-label="related navigation">
+ <h3>Navigation</h3>
+ <ul>
+ <li class="right" style="margin-right: 10px">
+ <a href="genindex.html" title="General Index"
+ >index</a></li>
+ <li class="right" >
+ <a href="relations.html" title="Relations"
+ >next</a> |</li>
+ <li class="right" >
+ <a href="bookmarks.html" title="Bookmarks"
+ >previous</a> |</li>
+ <li class="nav-item nav-item-0"><a href="index.html">phpMyAdmin 5.0.1 documentation</a> &#187;</li>
+ <li class="nav-item nav-item-1"><a href="user.html" >User Guide</a> &#187;</li>
+ </ul>
+ </div>
+ <div class="footer" role="contentinfo">
+ &#169; <a href="copyright.html">Copyright</a> 2012 - 2018, The phpMyAdmin devel team.
+ Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.4.9.
+ </div>
+ </body>
+</html> \ No newline at end of file