Granting users the right to grant permissions

You can assign each of the table and view permissions described with the WITH GRANT OPTION. This option gives the right to pass on the permission to other users.

In Sybase Central, you can specify a grant option by displaying the properties window of a user, group, or table, clicking the Permissions tab, and double-clicking the fields provided so that a check mark with two '+' signs appears.

Note

You can only specify WITH GRANT OPTION for users. Members of groups do not inherit the WITH GRANT OPTION if it is granted to a group.

Example

You can grant permission to M_Haneef to delete rows from the table named sample_table, and the right to pass on this permission to other users, as follows:

  1. Connect to the database as a user with DBA authority, or as the owner of sample_table
  2. Execute the SQL statement:
    GRANT DELETE ON sample_table
    TO M_Haneef
    WITH GRANT OPTION;

See GRANT statement.

See also