From 9a785ed91c057a766f4dba71318130c6cdf11816 Mon Sep 17 00:00:00 2001 From: Adam Young Date: Fri, 5 Nov 2010 13:11:56 -0400 Subject: rights check if the field does not have a 'w' for writable in its rights, disable it. Merged with the HBAC/Widget changes add and remove links are managed via permissions now --- install/static/widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install/static/widget.js') diff --git a/install/static/widget.js b/install/static/widget.js index bf893e04..73969432 100755 --- a/install/static/widget.js +++ b/install/static/widget.js @@ -461,7 +461,7 @@ function ipa_table_widget(spec) { } var pkey = $.bbq.getState(that.entity_name + '-pkey', true) || ''; - ipa_cmd('show', [pkey], {}, on_success, on_error, that.entity_name); + ipa_cmd('show', [pkey], {'rights': true}, on_success, on_error, that.entity_name); }; if (spec.columns) { -- cgit