summaryrefslogtreecommitdiffstats
path: root/install/updates
diff options
context:
space:
mode:
authorNathaniel McCallum <npmccallum@redhat.com>2014-02-06 11:27:29 -0500
committerroot <root@ipa-01.t.vda.li>2014-02-10 18:43:38 +0200
commitfc8d4a54f7c8b96ef46b751d6847013458ceeb41 (patch)
tree60d6f5482f84f22a917b7c3024798417d974f24a /install/updates
parentdaf2d64f83c4bd4d0fe60323f51d63e8355652b7 (diff)
downloadfreeipa-fc8d4a54f7c8b96ef46b751d6847013458ceeb41.tar.gz
freeipa-fc8d4a54f7c8b96ef46b751d6847013458ceeb41.tar.xz
freeipa-fc8d4a54f7c8b96ef46b751d6847013458ceeb41.zip
Update ACIs to permit users to add/delete their own tokens
Diffstat (limited to 'install/updates')
-rw-r--r--install/updates/40-otp.update1
1 files changed, 1 insertions, 0 deletions
diff --git a/install/updates/40-otp.update b/install/updates/40-otp.update
index 83dfab7c0..8e1300fb3 100644
--- a/install/updates/40-otp.update
+++ b/install/updates/40-otp.update
@@ -7,6 +7,7 @@ dn: $SUFFIX
add: 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";)'
add: 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";)'
add: 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";)'
+add: 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";)'
dn: cn=radiusproxy,$SUFFIX
default: objectClass: nsContainer