pgadmin4/docs/en_US/user_management.rst

73 lines
3.3 KiB
ReStructuredText
Raw Normal View History

2019-03-07 08:26:56 -06:00
.. _user_management:
2016-06-16 02:55:29 -05:00
2018-06-15 03:14:12 -05:00
*******************************
`User Management Dialog`:index:
*******************************
2016-06-16 02:55:29 -05:00
When invoking pgAdmin in desktop mode, a password is randomly generated, and
then ignored. If you install pgAdmin in server mode, you will be prompted for
an administrator email and password for the pgAdmin client.
2016-06-16 02:55:29 -05:00
When you authenticate with pgAdmin, the server definitions associated with that
login role are made available in the tree control. An administrative user can
use the *User Management* dialog to:
2016-06-16 02:55:29 -05:00
* add or delete pgAdmin roles
* assign privileges
* manage the password associated with a role
2019-03-07 08:26:56 -06:00
.. image:: images/user.png
:alt: pgAdmin user management window
:align: center
2016-06-16 02:55:29 -05:00
Use the *Search* field to specify a criteria and review a list of users
that matches with the specified criteria. You can enter a value that matches
the following criteria types: *Authentication source*, *Username*, or *Email*.
For example, you can enter *ldap* in the search box and only the records having
*ldap* as authentication source will be displayed in the *User Management* table.
2016-06-16 02:55:29 -05:00
To add a user, click the Add (+) button at the top right corner.
2016-06-16 02:55:29 -05:00
2019-03-07 08:26:56 -06:00
.. image:: images/add_user.png
:alt: pgAdmin user management window add new user
:align: center
2016-06-16 02:55:29 -05:00
Provide information about the new pgAdmin role in the row:
* Use the drop-down list box next to *Authentication source* field to select the
type of authentication that should be used for the user. If LDAP
authentication is not enabled for pgAdmin, then *Authentication source* field
is disabled.
* Click in the *Username* field, and provide a username for the user. This field
is enabled only if you select *ldap* as authentication source. If you select
*internal* as authentication source, your email address is displayed in the
username field.
* Click in the *Email* field, and provide an email address for the user.
* Use the drop-down list box next to *Role* to select whether a user is an
*Administrator* or a *User*.
2016-06-16 02:55:29 -05:00
* Select *Administrator* if the user will have administrative privileges
within the pgAdmin client.
2016-06-16 02:55:29 -05:00
* Select *User* to create a non-administrative user account.
* Move the *Active* switch to the *No* position if the account is not currently
active; the default is *Yes*. Use this switch to disable account activity
without deleting an account.
* Use the *New password* field to provide the password associated with the user
specified in the *Email* field. This field is disabled if you select *ldap*
as authentication source since LDAP password is not stored in the pgAdmin database.
* Re-enter the password in the *Confirm password* field. This field is disabled
if you select *ldap* as authentication source.
* Move the *Locked* switch to the *True* position if you want to lock the account;
the default is *False*. This functionality is useful when a user is locked by trying unsuccessful login attempts.
2016-06-16 02:55:29 -05:00
To discard a user, and revoke access to pgAdmin, click the trash icon to the
left of the row and confirm deletion in the *Delete user?* dialog.
2016-06-16 02:55:29 -05:00
Users with the *Administrator* role are able to add, edit and remove pgAdmin
users, but otherwise have the same capabilities as those with the *User* role.
2016-06-16 02:55:29 -05:00
* Click the *Help* button (?) to access online help.
* Click the *Close* button to save work. You will be prompted to return to the
dialog if your selections cannot be saved.