Grant system privileges and object-level privileges to User1.
Prerequisites
This lesson assumes that you have completed the previous lesson in this tutorial. See Lesson 1: Create two new users: User1 and User2 (Sybase Central).
In the left pane in Sybase Central, click to expand Users, and click User1.
Grant the BACKUP DATABASE and VALIDATE ANY OBJECT system privileges to User1.
In the right pane, click the System Privileges tab.
Right-click anywhere on the tab and click New » Granted System Privileges.
Click the BACKUP DATABASE system privilege, then click OK.
Repeat the above steps, this time clicking the VALIDATE ANY OBJECT system privilege, then click OK.
Click File » Save to save your changes to the database.
Grant SELECT and UPDATE object-level privileges on the Employees table to User1, with administrative rights.
In the right pane, click the Table Privileges tab.
Right-click anywhere on the tab and click New » Privileges.
Click the Employees table, then click OK. The Employees table is added to the list of tables for User1. Each check mark in the letter columns indicates an object-level privilege that User1 has on the table. For example, S for select, I for insert, and so on. However, in this lesson only User1 should have the ability to select from, and update, the Employees table.
Click the cells beneath the columns to clear their contents until there is a check mark, with a plus sign (+), in only the S (for select) and U (for update) columns. The plus sign indicates administrative rights. All other cells in the row should be empty.
Click File » Save to save your changes to the database.
![]() |
Discuss this page in DocCommentXchange.
|
Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0 |