Choose your database:
AnySQL
MySQL
MS SQL Server
PostgreSQL
SQLite
Firebird
Oracle
SQL Anywhere
DB2
MaxDB

Subscribe to our news:
Partners
Testimonials
Daryl Joubert: "I am evaluating your PostgreSQL Maestro product for purchase by my company and thus far I am very impressed! I really like the easy, intuitive and productive user interface and feature set. I am also evaluating a number of other products for PostgreSQL database design and maintenence but thus far SQLMaestro stands head and shoulders above the rest".
Simon Pills: "Someone finally invented an intuitively used and easily customized PostgreSQL database administration tool! Keep up the good work. I will be in touch. I am able to do this horrendous work because your software enabled me to create a new database with all necessary objects in several minutes! I am sure that I have found what I really need".

More

Add your opinion

PostgreSQL Maestro online Help

Prev Return to chapter overview Next

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.

 



Prev Return to chapter overview Next