summaryrefslogtreecommitdiffstats
path: root/install/share
diff options
context:
space:
mode:
authorNathaniel McCallum <npmccallum@redhat.com>2014-02-06 11:27:29 -0500
committerPetr Viktorin <pviktori@redhat.com>2014-02-13 19:43:29 +0100
commita91c0972b992dbd15e78f2ba6982768ac958e4bd (patch)
treebdbfa82df947622753fd38c3cf1e0e6bcc363066 /install/share
parenta2ae2918dd3dce00c4d5b7aa61d6f5ba08b5e97f (diff)
downloadfreeipa-a91c0972b992dbd15e78f2ba6982768ac958e4bd.tar.gz
freeipa-a91c0972b992dbd15e78f2ba6982768ac958e4bd.tar.xz
freeipa-a91c0972b992dbd15e78f2ba6982768ac958e4bd.zip
Update ACIs to permit users to add/delete their own tokens
https://fedorahosted.org/freeipa/ticket/4087 Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Diffstat (limited to 'install/share')
-rw-r--r--install/share/default-aci.ldif1
1 files changed, 1 insertions, 0 deletions
diff --git a/install/share/default-aci.ldif b/install/share/default-aci.ldif
index 9af9ab28c..b7df72109 100644
--- a/install/share/default-aci.ldif
+++ b/install/share/default-aci.ldif
@@ -103,3 +103,4 @@ add: aci
aci: (targetfilter = "(objectClass=ipaToken)")(targetattrs = "objectclass || ipatokenUniqueID || description || ipatokenOwner || ipatokenNotBefore || ipatokenNotAfter || ipatokenVendor || ipatokenModel || ipatokenSerial")(version 3.0; acl "Users can read basic token info"; allow (read, search, compare) userattr = "ipatokenOwner#USERDN";)
aci: (targetfilter = "(objectClass=ipaToken)")(targetattrs = "ipatokenUniqueID || description || ipatokenOwner || ipatokenNotBefore || ipatokenNotAfter || ipatokenVendor || ipatokenModel || ipatokenSerial")(version 3.0; acl "Users can write basic token info"; allow (write) userattr = "ipatokenOwner#USERDN";)
aci: (targetfilter = "(objectClass=ipatokenTOTP)")(targetattrs = "ipatokenOTPkey || ipatokenOTPalgorithm || ipatokenOTPdigits || ipatokenTOTPclockOffset || ipatokenTOTPtimeStep")(version 3.0; acl "Users can add TOTP token secrets"; allow (write, search) userattr = "ipatokenOwner#USERDN";)
+aci: (target = "ldap:///ipatokenuniqueid=*,cn=otp,$SUFFIX")(targetfilter = "(objectClass=ipaToken)")(version 3.0; acl "Users can create and delete tokens"; allow (add, delete) userattr = "ipatokenOwner#SELFDN";)