Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP Sybase SQL Anywhere 16.0 » SQL Anywhere Server - Database Administration » User and database security » User security (roles and privileges) » Roles » Compatibility roles

 

Migrating a compatibility role to a user-defined role (Sybase Central)

Migrate a compatibility role to a user-defined role, and then grant the new role to other roles and users. When you migrate a compatibility role, all grantees of the compatibility role are automatically granted the user-defined role, and the compatibility role is deleted.

Prerequisites

You must have the MANAGE ANY USER system privilege, the MANAGE ROLES system privilege, and administrative rights on the role being migrated.

Context and remarks

Compatibility roles are like starter roles. You cannot modify the underlying system privileges of compatibility roles. However, you can migrate them to user-defined roles, and then modify the privileges.

The name you assign to the new role cannot begin with the prefix SYS_ and end with the suffix _ROLE. For example, SYS_MyBackup_ROLE cannot be the name of a user-defined role. The name you give the new role is permanent; you cannot alter it later.

The SYS_AUTH_SA_ROLE and SYS_AUTH_SSO_ROLE system roles cannot be migrated individually. However, when the SYS_AUTH_DBA_ROLE system role is migrated, the SYS_AUTH_SA_ROLE and SYS_AUTH_SSO_ROLE are automatically migrated to new user-defined roles as well (sa_role and sso_role, by default).

If you migrate a role for which system privilege inheritance has been disabled (for example, SYS_AUTH_VALIDATE_ROLE), the privileges of the newly created user-defined role will be granted to all grantees in the inheritance tree.

 Task
  1. In Sybase Central, use the SQL Anywhere 16 plug-in to connect to the database.

  2. In the left pane, double-click Roles and select the compatibility role.

  3. Right-click the compatibility role and then click Migrate to User-defined Role.

  4. In the Name field, specify a new name for the new user-defined role, or accept the default name.

  5. Click OK.

Results

All grantees of the compatibility role are automatically granted the user-defined role. The compatibility role is deleted.

Next

Modify the system privileges of the user-defined role and grant the role to other users.

 See also