PostgreSQL Maestro online Help
Roles
Since version 8.1, PostgreSQL manages database access permissions using the concept of roles.
As per the server documentation a Role can be thought of as either a database User, or a Group of database users, depending on how the role is set up. Roles can own database objects (for example, tables) and can assign privileges on those objects to other roles to control who has access to which objects. Furthermore, it is possible to grant membership in a role to another role, thus allowing the member role use of privileges assigned to the role it is a member of.
New roles are created within Create Role Wizard. In order to run the wizard you should either
• | select the Roles list or any object from that list in the explorer tree and then use the Create New Role item from the popup menu |
or
• | open the server in Server Editor and the Roles tab there and press Insert or select the Create New Role item from the popup menu (Alternatively, use the corresponding link of the Navigation Bar). |
|
Roles are edited within Role Editor. In order to open the editor you should either
• | select the role for editing in the explorer tree (type the first letters of the role name for quick search); |
• | select the Edit Role item from the popup menu |
or
• | open the server in Server Editor and the Roles tab there; |
• | select the role to edit; |
• | press the Enter key or select the Edit Role item from the popup menu (alternatively, you can use the corresponding link of the Navigation Bar). |
|
To drop the existing role:
• | select the role to drop in the explorer tree; |
• | select the Drop Role item from the popup menu |
or
• | open the server in Server Editor and the Roles tab there; |
• | select the role to drop; |
• | press the Delete key or select the Drop Role item from the popup menu (alternatively, you may use the corresponding link of the Navigation Bar) |
and confirm dropping in the dialog window.
|