summaryrefslogtreecommitdiffstats
path: root/install/updates
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2011-02-11 16:48:59 -0500
committerRob Crittenden <rcritten@redhat.com>2011-02-14 10:22:55 -0500
commit1315ba19d2c4bdda3dc50b46994f0c4ead5d7da0 (patch)
tree3eeee8f616117698ca33e43170ae64cbea6dcf59 /install/updates
parentf2ed8de02861fc6a54187be1cabb2b6b60639794 (diff)
downloadfreeipa-1315ba19d2c4bdda3dc50b46994f0c4ead5d7da0.zip
freeipa-1315ba19d2c4bdda3dc50b46994f0c4ead5d7da0.tar.gz
freeipa-1315ba19d2c4bdda3dc50b46994f0c4ead5d7da0.tar.xz
Add permission/privilege for updating IPA configuration.
ticket 950
Diffstat (limited to 'install/updates')
-rw-r--r--install/updates/40-delegation.update18
-rw-r--r--install/updates/Makefile.am1
2 files changed, 19 insertions, 0 deletions
diff --git a/install/updates/40-delegation.update b/install/updates/40-delegation.update
new file mode 100644
index 0000000..aa14e85
--- /dev/null
+++ b/install/updates/40-delegation.update
@@ -0,0 +1,18 @@
+# IPA configuration
+
+dn: cn=Write IPA Configuration,cn=privileges,cn=pbac,$SUFFIX
+default:objectClass: top
+default:objectClass: groupofnames
+default:objectClass: nestedgroup
+default:cn: Write IPA Configuration
+
+dn: cn=Write IPA Configuration,cn=permissions,cn=pbac,$SUFFIX
+default:objectClass: top
+default:objectClass: groupofnames
+default:objectClass: ipapermission
+default:cn: Write IPA Configuration
+default:member: cn=Write IPA Configuration,cn=privileges,cn=pbac,$SUFFIX
+
+dn: $SUFFIX
+add:aci: '(targetattr = "ipausersearchfields || ipagroupsearchfields || ipasearchtimelimit || ipasearchrecordslimit || ipacustomfields || ipahomesrootdir || ipadefaultloginshell || ipadefaultprimarygroup || ipamaxusernamelength || ipapwdexpadvnotify || ipauserobjectclasses || ipagroupobjectclasses || ipadefaultemaildomain || ipamigrationenabled || ipacertificatesubjectbase || ipaconfigstring")(target = "ldap:///cn=ipaconfig,cn=etc,$SUFFIX" )(version 3.0 ; acl "permission:Write IPA Configuration"; allow (write) groupdn = "ldap:///cn=Write IPA Configuration,cn=permissions,cn=pbac,$SUFFIX";)'
+
diff --git a/install/updates/Makefile.am b/install/updates/Makefile.am
index a755423..b474cd1 100644
--- a/install/updates/Makefile.am
+++ b/install/updates/Makefile.am
@@ -9,6 +9,7 @@ app_DATA = \
20-nss_ldap.update \
20-replication.update \
20-winsync_index.update \
+ 40-delegation.update \
$(NULL)
EXTRA_DIST = \