Adding Permissions on a View or Materialized View to a User or Role

Add permissions on a view or materialized view to a user, user-extended role, or standalone role.

Prerequisites
Database Version Role-Based Database Object Privileges
SAP Sybase IQ 15.3 and 15.4 Not supported.
SAP Sybase IQ 16.0 You must have one of:
  • MANAGE ANY OBJECT PRIVILEGE system privilege
  • You have administrative rights (with grant option) to the permission
  • You own the database object
Task
  1. In the Perspective Resources view, select the resource, and select Resource > Administration Console.
  2. In the left pane, expand IQ Servers > Security > Role-Based, and then select Users, User-Extended Roles, or Standalone Roles.
  3. Select a user, user-extended role, or standalone role in the right pane either:
    • Click the arrow to the right of the name and select Properties, or
    • From the Administration Console menu bar, select Resource > Properties.
  4. In the left pane, select Permissions.
  5. Click the drop-down arrow and select Views.
    A list of permissions currently granted to Views appears.
  6. In the right pane, click Grant.
    The Grant Permission Wizard appears.
  7. Select Views and click Next.
  8. On the Objects page, select the view or materialized view on which the permission is being granted. Click Next.
  9. On the Permissions page, select one or more permissions. Click the box in the header row to select all available permissions. Click Next.
  10. (Optional) Click the With grant option to grant the selected permissions administrative rights.
    Note: The With grant option applies to all selected permissions. You cannot apply the With grant option option to individual permissions.
  11. Click Finish to close the permissions wizard.
  12. Do one of:
    • Click OK to update any changes to the database and exit the properties view.
    • Click Cancel to cancel any changes not updated to the database and exit the properties view.
Related concepts
About the User or Role View Permissions List
Following the User or Role View Permission List
Related tasks
Removing Permissions on a View or Materialized View from a User or Role
Adding Administrative Rights to a Granted View Permission to a User or Role
Removing Administrative Rights Only on a View or Materialized Permission from a User or Role
Authenticating a Login Account for a Managed Resource
Related reference
Role-Based Database Object Permissions Privilege Summary