Friday, October 5, 2018

EM 13c : How to Create an EM Administrator with Read Only Access to the Performance Pages of a Database Target? (Doc ID 2180307.1)

In this Document
Goal
Solution


APPLIES TO:

Enterprise Manager for Oracle Database - Version 13.1.1.0.0 and later
Information in this document applies to any platform.

GOAL

Requirement is to create an EM user with Read only access to the database target but the user should be able to view the details in the Database target performance pages. However, the user should not be allowed to perform any performance activities in the database target.
Created a new EM Admin and granted the "Connect Target Read-only" privilege but accessing the Database load map as the new EM admin returns the below error:
Insufficient Privilege

User XXXXXX does not have sufficient privileges to perform the operation.
Operation: Access to Enterprise Manager management Page
Required Privilege: View Database Performance Home Page
Contact Enterprise Manager Administrator to get the privileges required to perform the operation.
What privileges should be granted to the EM Admin to be able to view only the performance pages?
 

SOLUTION

For the EM admin to be able to only view the DB performance pages, grant the privilege: View Database Performance Privilege Group. This includes the "Connect Target Read-only" privilege and the view privilege to access the performance details but will not allow the user to perform any changes.
Follow the below steps:
- Login to the EM console as a super-administrator user.
- Navigate to Setup -> Security -> Administrator.
- Select the EM Admin created and click on Edit button.
- In the 'Target Privileges' page, scroll down and click on the edit icon in the 'Manage Target Privileges Grants' for the specific database target:
edit privs

- In the next page, search for "View Database Performance" in the search field.
- Select the privilege named 'View Database Performance Privilege Group':
perf_privs

- Save the details.
- Login to the EM console as the new EM Admin and verify if the DB target performance pages are accessible.

1 comment:

  1. FYI 'View Database Performance Privilege Group' privilege also provides 'Install Database Management Packages' which defeats the purpose because for developers we don't want to provide install privileges. Not sure why Oracle has given this install privilege.

    ReplyDelete