diff options
author | Rob Crittenden <rcritten@redhat.com> | 2011-02-11 16:48:59 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2011-02-14 10:22:55 -0500 |
commit | 1315ba19d2c4bdda3dc50b46994f0c4ead5d7da0 (patch) | |
tree | 3eeee8f616117698ca33e43170ae64cbea6dcf59 | |
parent | f2ed8de02861fc6a54187be1cabb2b6b60639794 (diff) | |
download | freeipa-1315ba19d2c4bdda3dc50b46994f0c4ead5d7da0.tar.gz freeipa-1315ba19d2c4bdda3dc50b46994f0c4ead5d7da0.tar.xz freeipa-1315ba19d2c4bdda3dc50b46994f0c4ead5d7da0.zip |
Add permission/privilege for updating IPA configuration.
ticket 950
-rw-r--r-- | install/updates/40-delegation.update | 18 | ||||
-rw-r--r-- | install/updates/Makefile.am | 1 |
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 000000000..aa14e85c4 --- /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 a75542338..b474cd1c5 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 = \ |