Red Hat Directory Server 8.0 Administrator's Guide
For example, example.com wants all subscribers to be able to read billing information such as
connection time or account balance under their own entries but explicitly wants to deny write
access to that information. This is illustrated in Section 9.7.1, “ACI "Billing Info Read"” and
Section 9.7.2, “ACI "Billing Info Deny"”, respectively.
9.7.1. ACI "Billing Info Read"
In LDIF, to grant subscribers permission to read billing information in their own entry, write the
following statement:
aci: (targetattr="connectionTime || accountBalance") (version
3.0; acl "Billing Info Read"; allow (search,read) userdn=
"ldap:///self";)
This example assumes that the relevant attributes have been created in the schema and that
the ACI is added to the ou=subscribers,dc=example,dc=com entry.
From the Console, set this permission by doing the following:
1. In the Directory tab, right-click the Subscribers entry under the example.com node in the
left navigation tree, and choose Set Access Permissions from the pop-up menu to display
the Access Control Manager.
2. Click New to display the Access Control Editor.
3. In the Users/Groups tab, in the ACI name field, type Billing Info Read. In the list of
users granted access permission, do the following:
a. Select and remove All Users, then click Add.
The Add Users and Groups dialog box opens.
b. Set the Search area in the Add Users and Groups dialog box to Special Rights, and
select Self from the search results list.
c. Click the Add button to list Self in the list of users who are granted access permission.
d. Click OK to dismiss the Add Users and Groups dialog box.
4. In the Rights tab, select the checkboxes for search and read rights. Make sure the other
checkboxes are clear.
5. In the Targets tab, click This Entry to display the ou=subscribers, dc=example,dc=com
suffix in the Target directory entry field. In the attribute table, select the checkboxes for the
connectionTime and accountBalance attributes.
All other checkboxes should be clear; if it is made easier, click the Check None button to
clear the checkboxes for all attributes in the table, then click the Name header to organize
them alphabetically, and select the appropriate ones.
Chapter 6. Managing Access Control
230