summaryrefslogtreecommitdiffstats
path: root/install/static/widget.js
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2010-11-05 13:11:56 -0400
committerAdam Young <ayoung@redhat.com>2010-11-05 16:41:07 -0400
commit9a785ed91c057a766f4dba71318130c6cdf11816 (patch)
tree07e6f090e502f49061d9003fc040302714df8b7a /install/static/widget.js
parent655aa0fcdfefe8582d7527ae3638a8e9368a7d51 (diff)
downloadfreeipa-9a785ed91c057a766f4dba71318130c6cdf11816.tar.gz
freeipa-9a785ed91c057a766f4dba71318130c6cdf11816.tar.xz
freeipa-9a785ed91c057a766f4dba71318130c6cdf11816.zip
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
Diffstat (limited to 'install/static/widget.js')
-rwxr-xr-xinstall/static/widget.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/static/widget.js b/install/static/widget.js
index bf893e042..739694324 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) {