From e5d57d237b4f146faf2e5c27d4e9eb3359dc15b3 Mon Sep 17 00:00:00 2001 From: Martin Kosek Date: Fri, 4 Feb 2011 14:03:30 +0100 Subject: HBAC plugin inconsistent output This patch adds a proper summary text to HBAC command which is then printed out in CLI. Now, HBAC plugin output is consistent with other plugins. https://fedorahosted.org/freeipa/ticket/596 --- API.txt | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'API.txt') diff --git a/API.txt b/API.txt index 9e34647d..697acb28 100644 --- a/API.txt +++ b/API.txt @@ -1035,13 +1035,17 @@ output: Output('summary', (, ), 'User-friendly output: Output('result', , 'list of deletions that failed') output: Output('value', , "The primary_key value of the entry, e.g. 'jdoe' for a user") command: hbacrule_disable -args: 1,0,1 +args: 1,0,3 arg: Str('cn', attribute=True, cli_name='name', label=Gettext('Rule name', domain='ipa', localedir=None), multivalue=False, primary_key=True, query=True, required=True) -output: Output('result', None, None) +output: Output('summary', (, ), 'User-friendly description of action performed') +output: Output('result', , 'True means the operation was successful') +output: Output('value', , "The primary_key value of the entry, e.g. 'jdoe' for a user") command: hbacrule_enable -args: 1,0,1 +args: 1,0,3 arg: Str('cn', attribute=True, cli_name='name', label=Gettext('Rule name', domain='ipa', localedir=None), multivalue=False, primary_key=True, query=True, required=True) -output: Output('result', None, None) +output: Output('summary', (, ), 'User-friendly description of action performed') +output: Output('result', , 'True means the operation was successful') +output: Output('value', , "The primary_key value of the entry, e.g. 'jdoe' for a user") command: hbacrule_find args: 1,12,4 arg: Str('criteria?') -- cgit