Database page
Group
Use this box to specify the authorization name under which you want a group to use the database that you selected. Use one of these methods:
Important
You can specify an authorization name only for a group that currently has no authorities on the selected database and no privileges on the database's objects.
Choose the appropriate authorities
Under Choose the appropriate authorities to grant to the selected group, indicate which database authorities you want to grant. You can grant authorities to perform specific activities, or the authority to administer the entire database:
Schema page
Schema
This box consists of a Schema column and a column for each schema privilege. Use this box to list and select the schemas that you want to grant privileges on. To add schemas to the box, click on Add Schema and select them on the Add Schema window.
Next to the schema names, this box displays symbols indicating either that the group has no privileges on the schemas, or that grants of the privileges are pending, or that grants have been made. Symbols for pending grants reflect changes that you make when you use the Privileges boxes or the Grant All or Revoke All push buttons.
Add Schema
Click on this push button to open the Add Schema window, so that you can select schemas that you want to grant privileges on. When you click on Apply in this window, the selected schemas are added to the Schema box on the Schema page.
Grant All
On the Schema page, click on this push button to open the Select Grant Option window, so that you can grant all privileges on the selected schemas either with or without the Grant option (the right to grant the privileges to other groups and users).
On the Table and View pages, click on this push button to grant all privileges on the selected tables and views, and to provide the Grant option with all privileges except CONTROL.
On the Index page, click on this push button to grant the CONTROL privilege on the selected indexes.
Revoke All
Click on this push button to cancel all requests for privileges on the selected schemas, tables, indexes, or views.
Example
Suppose that on the Table page, you use the Grant All push button to request all privileges on TABLE1. Then, before closing the Add Group notebook, you decide it would be better to grant only the SELECT and INSERT privileges on this table. To do this, you could:
This box displays a setting that indicates whether the group referenced on the Database page has the CREATEIN privilege on schemas selected in the Schema column. To change the setting, click on the down arrow and select the setting that you want. You can select:
The CREATEIN privilege, along with authorization to create an object, allows a user to create the object in a schema. (Exception: if a user owns a schema and has CREATETAB authority, the user doesn't need the CREATEIN privilege on the schema to create tables in it.)
If you select multiple schemas for which you specified different settings (for example, Yes for one schema and No for the others), the CREATEIN box is blank. But the settings that you specified remain in effect.
This box displays a setting that indicates whether the group referenced on the Database page has the DROPIN privilege on schemas selected in the Schema column. To change the setting, click on the down arrow and select the setting that you want. You can select:
The DROPIN privilege on a schema allows a user to drop any object that belongs to that schema.
If you select multiple schemas for which you specified different settings (for example, Yes for one schema and No for the others), the DROPIN box is blank. But the settings that you specified remain in effect.
This box displays a setting that indicates whether the group referenced on the Database page has the ALTERIN privilege on schemas selected in the Schema column. To change the setting, click on the down arrow and select the setting that you want. You can select:
The ALTERIN privilege on a schema allows a user to alter the objects that belong to the schema, and to change the comments on these objects.
If you select multiple schemas for which you specified different settings (for example, Yes for one schema and No for the others), the ALTERIN box is blank. But the settings that you specified remain in effect.
Table page
Table
This box consists of a Table column and a column for each table privilege. Use this box to list and select the tables that you want to grant privileges on. To add tables to the box, click on Add Table and select them on the Add Table window.
Next to the table names, this box displays symbols indicating either that the group has no privileges on the tables, or that grants of the privileges are pending, or that grants have been made. These symbols change to reflect changes that you make when you use the Privileges boxes or the Grant All or Revoke All push buttons.
Add Table
Click on this push button to open the Add Table window, so that you can select tables that you want to grant privileges on. When you click on Apply in this window, the selected tables are added to the Table box on the Table page.
Grant All
On the Schema page, click on this push button to open the Select Grant Option window, so that you can grant all privileges on the selected schemas either with or without the Grant option (the right to grant the privileges to other groups and users).
On the Table and View pages, click on this push button to grant all privileges on the selected tables and views, and to provide the Grant option with all privileges except CONTROL.
On the Index page, click on this push button to grant the CONTROL privilege on the selected indexes.
Revoke All
Click on this push button to cancel all requests for privileges on the selected schemas, tables, indexes, or views.
Example
Suppose that on the Table page, you use the Grant All push button to request all privileges on TABLE1. Then, before closing the Add Group notebook, you decide it would be better to grant only the SELECT and INSERT privileges on this table. To do this, you could:
SELECT
This box displays a setting that indicates whether the group referenced on the Database page has the SELECT privilege on tables selected in the Table column. To change the setting, click on the down arrow and select the setting that you want. You can select:
The SELECT privilege allows a user to retrieve rows from a table and to create views on a table.
If you select multiple tables for which you specified different settings (for example, Yes for one table and No for the others), the SELECT box is blank. But the settings that you specified remain in effect.
INSERT
This box displays a setting that indicates whether the group referenced on the Database page has the INSERT privilege on tables selected in the Table column. To change the setting, click on the down arrow and select the setting that you want. You can select:
The INSERT privilege allows a user to insert rows into a table.
If you select multiple tables for which you specified different settings (for example, Yes for one table and No for the others), the INSERT box is blank. But the settings that you specified remain in effect.
UPDATE
This box displays a setting that indicates whether the group referenced on the Database page has the UPDATE privilege on tables selected in the Table column. To change the setting, click on the down arrow and select the setting that you want. You can select:
The UPDATE privilege allows a user to update a table.
If you select multiple tables for which you specified different settings (for example, Yes for one table and No for the others), the UPDATE box is blank. But the settings that you specified remain in effect.
DELETE
This box displays a setting that indicates whether the group referenced on the Database page has the DELETE privilege on tables selected in the Table column. To change the setting, click on the down arrow and select the setting that you want. You can select:
The DELETE privilege allows a user to delete rows from a table.
If you select multiple tables for which you specified different settings (for example, Yes for one table and No for the others), the DELETE box is blank. But the settings that you specified remain in effect.
CONTROL
This box displays a setting that indicates whether the group referenced on the Database page has the CONTROL privilege on tables selected in the Table column. To change the setting, click on the down arrow and select the setting that you want. You can select:
With the CONTROL privilege on a table, a user:
If you select multiple tables for which you specified different settings (for example, Yes for one table and No for the others), the CONTROL box is blank. But the settings that you specified remain in effect.
ALTER
This box displays a setting that indicates whether the group referenced on the Database page has the ALTER privilege on tables selected in the Table column. To change the setting, click on the down arrow and select the setting that you want. You can select:
The ALTER privilege on a table allows a user to:
If you select multiple tables for which you specified different settings (for example, Yes for one table and No for the others), the ALTER box is blank. But the settings that you specified remain in effect.
INDEX
This box displays a setting that indicates whether the group referenced on the Database page has the INDEX privilege on tables selected in the Table column. To change the setting, click on the down arrow and select the setting that you want. You can select:
The INDEX privilege allows a user to create an index on a table.
If you select multiple tables for which you specified different settings (for example, Yes for one table and No for the others), the INDEX box is blank. But the settings that you specified remain in effect.
REFERENCES
This box displays a setting that indicates whether the group referenced on the Database page has the REFERENCES privilege on tables selected in the Table column. To change the setting, click on the down arrow and select the setting that you want. You can select:
The REFERENCES privilege allows a user to create and drop a foreign key.
If you select multiple tables for which you specified different settings (for example, Yes for one table and No for the others), the REFERENCES box is blank. But the settings that you specified remain in effect.
Index page
Index
This box consists of an Index column and a column for the CONTROL privilege. Use this box to list and select the indexes on which you want the CONTROL privilege granted. To add indexes to the box, click on Add Index and select them on the Add Index window.
Next to the index names, this box displays symbols indicating either that the group doesn't have the CONTROL privilege on the indexes, or that grants of the privileges are pending, or that grants have been made. These symbols change to reflect changes that you make when you use the CONTROL box or the Grant All or Revoke All push buttons.
Add Index
Click on this push button to open the Add Index window, so that you can select indexes on which you want to grant the CONTROL privilege. When you click on Apply in this window, the selected indexes are added to the Index box on the Index page.
Grant All
On the Schema page, click on this push button to open the Select Grant Option window, so that you can grant all privileges on the selected schemas either with or without the Grant option (the right to grant the privileges to other groups and users).
On the Table and View pages, click on this push button to grant all privileges on the selected tables and views, and to provide the Grant option with all privileges except CONTROL.
On the Index page, click on this push button to grant the CONTROL privilege on the selected indexes.
Revoke All
Click on this push button to cancel all requests for privileges on the selected schemas, tables, indexes, or views.
Example
Suppose that on the Table page, you use the Grant All push button to request all privileges on TABLE1. Then, before closing the Add Group notebook, you decide it would be better to grant only the SELECT and INSERT privileges on this table. To do this, you could:
This box displays a setting that indicates whether the group referenced on the Database page has the CONTROL privilege on indexes selected in the Index column. To change the setting, click on the down arrow and select the setting that you want. You can select:
The CONTROL privilege on an index allows a user to drop the index. Unless the user has SYSADM or DBADM authority, he or she cannot grant this privilege to other users and to groups.
If you select multiple indexes for which you specified different settings (for example, Yes for one index and No for the others), the CONTROL box is blank. But the settings that you specified remain in effect.
View page
View
This box consists of a View column and a column for each view privilege. Use this box to list and select the views that you want to grant privileges on. To add views to the box, click on Add View and select them on the Add View window.
Next to the view names, this box displays symbols indicating either that the group has no privileges on the views, or that grants of the privileges are pending, or that grants have been made. These symbols change to reflect changes that you make when you use the Privileges boxes or the Grant All or Revoke All push buttons.
Add View
Click on this push button to open the Add View window, so that you can select views that you want to grant privileges on. When you click on Apply in this window, the selected views are added to the View box on the View page.
Grant All
On the Schema page, click on this push button to open the Select Grant Option window, so that you can grant all privileges on the selected schemas either with or without the Grant option (the right to grant the privileges to other groups and users).
On the Table and View pages, click on this push button to grant all privileges on the selected tables and views, and to provide the Grant option with all privileges except CONTROL.
On the Index page, click on this push button to grant the CONTROL privilege on the selected indexes.
Revoke All
Click on this push button to cancel all requests for privileges on the selected schemas, tables, indexes, or views.
Example
Suppose that on the Table page, you use the Grant All push button to request all privileges on TABLE1. Then, before closing the Add Group notebook, you decide it would be better to grant only the SELECT and INSERT privileges on this table. To do this, you could:
SELECT
This box displays a setting that indicates whether the group referenced on the Database page has the SELECT privilege on views selected in the View column. To change the setting, click on the down arrow and select the setting that you want. You can select:
The SELECT privilege allows a user can retrieve rows from a view and to create views on a view.
If you select multiple views for which you specified different settings (for example, Yes for one view and No for the others), the SELECT box is blank. But the settings that you specified remain in effect.
INSERT
This box displays a setting that indicates whether the group referenced on the Database page has the INSERT privilege on views selected in the View column. To change the setting, click on the down arrow and select the setting that you want. You can select:
The INSERT privilege allows a user to insert rows into an updatable view.
If you select multiple views for which you specified different settings (for example, Yes for one view and No for the others), the INSERT box is blank. But the settings that you specified remain in effect.
UPDATE
This box displays a setting that indicates whether the group referenced on the Database page has the UPDATE privilege on views selected in the View column. To change the setting, click on the down arrow and select the setting that you want. You can select:
The UPDATE privilege allows a user to update rows in an updatable view.
If you select multiple views for which you specified different settings (for example, Yes for one view and No for the others), the UPDATE box is blank. But the settings that you specified remain in effect.
DELETE
This box displays a setting that indicates whether the group referenced on the Database page has the DELETE privilege on views selected in the View column. To change the setting, click on the down arrow and select the setting that you want. You can select:
The DELETE privilege allows a user to delete rows from an updatable view.
If you select multiple views for which you specified different settings (for example, Yes for one view and No for the others), the DELETE box is blank. But the settings that you specified remain in effect.
CONTROL
This box displays a setting that indicates whether the group referenced on the Database page has the CONTROL privilege on views selected in the View column. To change the setting, click on the down arrow and select the setting that you want. You can select:
With the CONTROL privilege on a view, a user:
If you select multiple views for which you specified different settings (for example, Yes for one view and No for the others), the CONTROL box is blank. But the settings that you specified remain in effect.