24.12.2012 Views

ER/Studio - Embarcadero Technologies Product Documentation

ER/Studio - Embarcadero Technologies Product Documentation

ER/Studio - Embarcadero Technologies Product Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

USING <strong>ER</strong>/STUDIO > COMMON TASKS<br />

Associating Database Users with New Database Roles<br />

Once you have a database user defined, you can assign that user a database role. Once defined, the permissions<br />

granted to a particular user directly or by applying roles can be edited on the Permissions tab of the Entity Editor or<br />

Table Editor.<br />

1 In the Data Model Window, expand the logical or physical Main Model, right-click the Roles node, and then<br />

click New Database Role.<br />

2 On the first page of the wizard, in the Roles area click Add and choose the roles you want to apply.<br />

3 Click Finish.<br />

Now, when you edit the database user, if you have selected Show inherited permissions on the Object Privileges<br />

tab of the User Editor, you will see blue check marks denoting the granted permissions afforded to the user by<br />

the applied roles.<br />

NOTE: Permissions granted or revoked through the application of a role are overridden by permissions<br />

afforded the user in the User Editor, or on the Permissions tab of the Entity/Table Editor.<br />

Changing Database Users Associated with Existing Database Roles<br />

Once you have a database user defined, you can assign a role to that user. Once defined, the permissions granted to<br />

users directly or by applying roles can be edited on the Permissions tab of the Entity Editor.<br />

1 In the Data Model Explorer, expand the logical or physical Main Model, expand the Roles node, right-click the<br />

role you want to change, and then click Edit Database Roles.<br />

2 Click the General tab.<br />

3 To associate the role with a user, in the Users area of the General tab, click Add and choose the users you want<br />

to associate with the role.<br />

To disassociate a role from a user, in the Users area of the General tab, in the Users area click Drop and<br />

choose the users you want to disassociate from the role.<br />

4 Click Finish.<br />

Now, when you edit the database user, if you have selected Show inherited permissions on the Object Privileges<br />

tab of the User Editor, you will see blue check marks denoting the granted permissions afforded to the user by<br />

the applied roles. Permissions revoked by rules do not display with crosses.<br />

NOTE: Permissions granted by applying roles are overridden by permissions granted to the user in the<br />

User Editor, or on the Permissions tab of the Entity/Table Editor.<br />

Associating Database Roles with New Database Users<br />

Once you have a database role defined, you can assign that role to any new users created. Once defined, the<br />

permissions granted to users directly or by applying roles can be edited on the Permissions tab of the Entity Editor.<br />

1 In the Data Model Window, expand the logical or physical Main Model, right-click the Users node, and then<br />

click New Database User.<br />

2 On the first page of the wizard, click Add in the Roles area and then choose the roles you want to apply.<br />

EMBARCAD<strong>ER</strong>O TECHNOLOGIES > <strong>ER</strong>/STUDIO® 8.0.3 US<strong>ER</strong> GUIDE 85

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!