mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Remove redundant ACL check in operational attributes overlay
This commit is contained in:
parent
ac93f86303
commit
645923b273
@ -87,13 +87,6 @@ slapi_over_compute_output(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( !access_allowed( op, entry, desc, NULL, ACL_READ, c->cac_acl_state) ) {
|
|
||||||
slapi_log_error( SLAPI_LOG_ACL, "slapi_over_compute_output",
|
|
||||||
"acl: access to attribute %s not allowed\n",
|
|
||||||
desc->ad_cname.bv_val );
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* XXX perhaps we should check for existing attributes and merge */
|
/* XXX perhaps we should check for existing attributes and merge */
|
||||||
for ( a = &rs->sr_operational_attrs; *a != NULL; a = &(*a)->a_next )
|
for ( a = &rs->sr_operational_attrs; *a != NULL; a = &(*a)->a_next )
|
||||||
;
|
;
|
||||||
|
Loading…
Reference in New Issue
Block a user