Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / Oracle

Adding Permissions to Add/Edit Data Models and Add Reports in BI Publisher 12c

4.00/5 (1 vote)
20 May 2016CPOL2 min read 20K  
Provides steps to add permissions to adding or editing data models or adding reports in Oracle BI Publisher 12c.

Background

I work on a program which used to send requests to Oracle BI Publisher 11g web service to get reports. After some time, the customer decided to migrate to BI Publisher 12c version. The BI Publisher 12c was installed. But when I tried add/edit data model or add report, I got an error ("You do not have privilege to create a data model." or "User does not have permission to access this folder." respectively). Although with BI Publisher 11g, I could perform these actions immediately after installation without any additional configurations.

Problem

Which permissions user should have in order to create or update data models and reports and how to add these permissions.

Solution

After some Googling, I figured out that user should have role with permissions oracle.bi.publisher.developDataModel and oracle.bi.publisher.developReport. However, I have not found clear steps how to add these permissions. That's why I am going to provide them below.

Steps to Add Permissions to Role

  1. Determine which role the user has. In my case, weblogic user has BI Service Administrator role.

    Image 1

  2. Login to Oracle Enterprise Manager (http://172.26.24.78:7001/em).

    Image 2

  3. Select WebLogic Domain > Security > Application Policies.

    Image 3

  4. In Application Stripe, select obi and click the search button. The BIServiceAdministrator item will appear in the grid.

    Image 4

  5. In the grid, select BIServiceAdministrator item and click Edit.

    Image 5

  6. In the Permissions grid, click Add.

    Image 6

  7. Select the Resource Types radio button and in Resource Type, select oracle.bi.publisher.permission.

    Image 7

  8. Click the search button.

    Image 8

  9. In the Search Results grid, select appropriate permission (oracle.bi.publisher.developDataModel) and click Continue.

    Image 9

  10. Select the Permission Actions check boxes and click Select. The selected permission will appear in the Permissions grid.

    Image 10

  11. Repeat steps 6-10 for each permission you need to add. In my case for oracle.bi.publisher.developReport.

  12. Click OK.

    Image 11

  13. Restart the BI Publisher.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)