Granting permissions on a view

You can grant and revoke permissions on a view. You can grant the permission to specific users, groups or roles, or you can grant the permission using the with grant option so the recipient can also grant the permission to other users. You can revoke the permission from specific users, groups, or roles, or you can revoke the permission using the with cascade option to revoke it from the named user and all users who acquired the permission from the current user (directly or indirectly).

Privileges

A view owner can grant and revoke object permissions on a view.

To manage permissions on a view, you can see which users, groups, and roles have permissions. You can also see all users, groups, and roles in the database and those that do not have any permission on the view.

StepsDisplaying view permissions

  1. Select the view icon, then choose File | Properties.

  2. Select the Permissions tab.

  3. In the Permissions For list, select Users, Groups, or Roles. The dialog box shows users, groups, or roles and the current state of their permissions.

  4. Select the object whose permissions you want to change.

  5. To grant or revoke permissions, click in one of the columns for the object you have chosen. The permissions cycle through the options listed on the Legend.

    You can grant the following types of permissions:

NoteSybase Central reports on permissions explicitly granted or revoked and those that users obtain by being members in a group. It does not show permissions associated with having an administrative role, such as system administrator, associated with their logins.