From c6ba079cb2d683628facd4a3fb0e203b22b39a9a Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Thu, 07 Jun 2007 22:32:59 +0000
Subject: [PATCH] Eliminate the search-unindexed privilege, since the feature was implemented to use a privilege of "unindexed-search" instead. Also, eliminate the index-rebuild privilege and fold all of its functionality into ldif-import, since having a separate privilege for it doesn't provide much benefit and creates additional administrative overhead.
---
opendj-sdk/opends/src/server/org/opends/server/tasks/RebuildTask.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/tasks/RebuildTask.java b/opendj-sdk/opends/src/server/org/opends/server/tasks/RebuildTask.java
index fd1bfb7..a99c3d9 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/tasks/RebuildTask.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/tasks/RebuildTask.java
@@ -104,7 +104,7 @@
if (operation != null)
{
ClientConnection clientConnection = operation.getClientConnection();
- if (! clientConnection.hasPrivilege(Privilege.INDEX_REBUILD, operation))
+ if (! clientConnection.hasPrivilege(Privilege.LDIF_IMPORT, operation))
{
int msgID = MSGID_TASK_INDEXREBUILD_INSUFFICIENT_PRIVILEGES;
String message = getMessage(msgID);
--
Gitblit v1.10.0