From: Pierangelo Masarati Date: Mon, 2 Jan 2006 16:44:36 +0000 (+0000) Subject: fix {add,delete} access (ITS#4295) X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~478 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=912dd6f083f105b1194772cb0c2a0cff3371c1fb;p=openldap fix {add,delete} access (ITS#4295) --- diff --git a/servers/slapd/slap.h b/servers/slapd/slap.h index 6a121d4d6e..56a453ac53 100644 --- a/servers/slapd/slap.h +++ b/servers/slapd/slap.h @@ -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 {