]> git.sur5r.net Git - openldap/commitdiff
fix {add,delete} access (ITS#4295)
authorPierangelo Masarati <ando@openldap.org>
Mon, 2 Jan 2006 16:44:36 +0000 (16:44 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 2 Jan 2006 16:44:36 +0000 (16:44 +0000)
servers/slapd/slap.h

index 6a121d4d6ebe95773ef195587c0ceedec3e22c47..56a453ac53e0d7d422904e667732b4f794d0d291 100644 (file)
@@ -1215,7 +1215,7 @@ typedef enum slap_access_e {
        ACL_COMPARE,
        ACL_SEARCH,
        ACL_READ,
-       ACL_WRITE,
+       ACL_WRITE_,
        ACL_MANAGE,
 
        /* always leave at end of levels but not greater than ACL_LEVEL_MASK */
@@ -1230,8 +1230,10 @@ typedef enum slap_access_e {
        ACL_QUALIFIER_MASK = 0x0f00,
 
        /* write granularity */
-       ACL_WADD = ACL_WRITE|ACL_QUALIFIER1,
-       ACL_WDEL = ACL_WRITE|ACL_QUALIFIER2
+       ACL_WADD = ACL_WRITE_|ACL_QUALIFIER1,
+       ACL_WDEL = ACL_WRITE_|ACL_QUALIFIER2,
+
+       ACL_WRITE = ACL_WADD|ACL_WDEL
 } slap_access_t;
 
 typedef enum slap_control_e {