In my last post I described how to configure BI Publisher to authenticate against an LDAP server, typically a corporate Active Directory server. Aside from authentication, you can also use LDAP group membership to determine who has access to a given report. Here’s how you do it.
- Create a group in your LDAP/AD directory and assign your target users to that group.
Revisit your LDAP authentication settings. These are located on the Admin Tab, on the Security Configuration page. In particular, look at the value for Group Search Filter.
In case you don’t recognize it, this is an LDAP query string. This query string determines which groups BI Publisher “sees”, or recognizes, when setting up report access. The groups returned by this query will determine the set from which you can choose when configuring which groups see which reports.
Here is a deconstruction of the query string:
(& Logical AND over the following conditions
(objectClass=group) Return LDAP groups, as opposed to users or computers, etc.
(| Logical OR over the following conditions
(CN=XMLP*) Return groups whose name starts with “XMLP”
(CN=DEPT_GROUP_*) Return groups whose name starts with “DEPT_GROUP_“
A quick primer on LDAP query syntax can be found here.
Modify this query string to include the group you just created.
Bounce BI Publisher.
Log in to BI Publisher as an administrator. Go to the Admin tab, and then to the Roles and Permissions page.
Click on the role/group you just created, and using the shuttle control on the next page, select which reports your new group should have access to. If necessary, you may need to revoke permissions on your report from other groups, or move your report to the top level of the report folder hierarchy in order to segregate access appropriately.