9991ea
From 94888d83efbbd3b3ddf194e35d4d10f03bb47bb2 Mon Sep 17 00:00:00 2001
9991ea
From: Martin Kosek <mkosek@redhat.com>
9991ea
Date: Fri, 17 Jan 2014 16:13:17 +0100
9991ea
Subject: [PATCH] Hide trust-resolve command
9991ea
9991ea
We do not need to expose a public FreeIPA specific interface to resolve
9991ea
SIDs to names. The interface is only used internally to resolve SIDs
9991ea
when external group members are listed. Additionally, the command interface
9991ea
is not prepared for regular user and can give rather confusing results.
9991ea
9991ea
Hide it from CLI. The API itself is still accessible and compatible with
9991ea
older clients.
9991ea
9991ea
https://fedorahosted.org/freeipa/ticket/4113
9991ea
---
9991ea
 ipalib/plugins/trust.py | 1 +
9991ea
 1 file changed, 1 insertion(+)
9991ea
9991ea
diff --git a/ipalib/plugins/trust.py b/ipalib/plugins/trust.py
9991ea
index 3d412c9c9f518347769e88ddc9089d6d92ccc4be..0b6db27c696cd169c8f4b33128520961c20e3015 100644
9991ea
--- a/ipalib/plugins/trust.py
9991ea
+++ b/ipalib/plugins/trust.py
9991ea
@@ -978,6 +978,7 @@ def idmap_type_string(level):
9991ea
         return unicode(string)
9991ea
 
9991ea
 class trust_resolve(Command):
9991ea
+    NO_CLI = True
9991ea
     __doc__ = _('Resolve security identifiers of users and groups in trusted domains')
9991ea
 
9991ea
     takes_options = (
9991ea
-- 
9991ea
1.8.4.2
9991ea