16.10.2015 Views

Getting Started with IBM Data Studio for DB2

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

92 <strong>Getting</strong> <strong>Started</strong> <strong>with</strong> <strong>IBM</strong> <strong>Data</strong> <strong>Studio</strong> <strong>for</strong> <strong>DB2</strong><br />

6. In the object list editor, click on the Review and Deploy Changes button and run<br />

the DDL to deploy the role to the database, following the steps outlined in Section<br />

2.4.5.<br />

2.5.2 Assigning privileges<br />

Whenever you create an object, you can give the privileges associated <strong>with</strong> that object to<br />

the different users available. Figure 2.26 shows the Privileges tab that opens <strong>for</strong> table<br />

creation in <strong>Data</strong> <strong>Studio</strong>. You can use the same Privileges tab to change an existing object<br />

by right-clicking the object and selecting the Manage Privileges action.<br />

Figure 2.26 – Privileges option while creating a table<br />

If you don’t see the user already in the Privileges tab, click the Grant New Privilege button.<br />

A new row is created, which will allow you to select the grantee, and then grant privileges<br />

to the user on that object.<br />

You grant the user the appropriate privilege by selecting the check boxes in the row of the<br />

grid. If you click on an option twice, you can also give the user the authority to grant the<br />

privilege to others (WITH GRANT OPTION). This authority on theMYUSER user is shown in<br />

the ALTER privilege, displayed in Figure 2.26.<br />

For most of the objects that you create in <strong>Data</strong> <strong>Studio</strong>, you will find a Privileges tab<br />

wherever applicable, and you can use the above method to give appropriate privileges to<br />

the different users. You can also find the Privileges tab in the Properties view of a user,<br />

where it will allow you to grant privileges on multiple objects <strong>for</strong> that specific user.<br />

Note:<br />

For more in<strong>for</strong>mation about privileges, see the following topic in the <strong>DB2</strong> in<strong>for</strong>mation<br />

center:<br />

http://pic.dhe.ibm.com/infocenter/db2luw/v10r1/topic/com.ibm.db2.luw.admin.sec.doc/do<br />

c/c0005548.html

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

Saved successfully!

Ooh no, something went wrong!