From ef7472507064725f7d1ac16e6b9ccdfa2f9fadea Mon Sep 17 00:00:00 2001
From: coulbeck <coulbeck@localhost>
Date: Fri, 23 Feb 2007 20:11:10 +0000
Subject: [PATCH] This change prepares the unit tests for when the ACI handler will get enabled by default. Most of the failing tests are fixed by adding bypass-acl privilege to the entries of the users the failing tests bind as.
---
opends/src/server/org/opends/server/authorization/dseecompat/AciHandler.java | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/opends/src/server/org/opends/server/authorization/dseecompat/AciHandler.java b/opends/src/server/org/opends/server/authorization/dseecompat/AciHandler.java
index b69761b..73d7260 100644
--- a/opends/src/server/org/opends/server/authorization/dseecompat/AciHandler.java
+++ b/opends/src/server/org/opends/server/authorization/dseecompat/AciHandler.java
@@ -226,8 +226,10 @@
container.setRights(ACI_WRITE_DELETE);
if(!skipAccessCheck && !accessAllowed(container))
return false;
- } else
+ } else {
+ if(!skipAccessCheck)
return false;
+ }
/*
Check if the modification type has an "aci" attribute type.
If so, check the syntax of that attribute value. Fail the
--
Gitblit v1.10.0