summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2011-10-17 11:48:03 +0200
committerEndi S. Dewata <edewata@redhat.com>2011-10-17 14:01:16 -0200
commit1e5391422143c17a94008a0703099c5f877e46fd (patch)
tree3121fa33cb744ed2c6480c9469e36300fe19a8e6
parent99d938152fbef41f2d48d4088e5ba39bc820e9de (diff)
downloadfreeipa-1e5391422143c17a94008a0703099c5f877e46fd.tar.gz
freeipa-1e5391422143c17a94008a0703099c5f877e46fd.tar.xz
freeipa-1e5391422143c17a94008a0703099c5f877e46fd.zip
Fixed: Unable to add external user for RunAs User for Sudo rules
https://fedorahosted.org/freeipa/ticket/1987 There is no way to add root or any external user as a RunAs User for a Sudo Rule.
-rw-r--r--install/ui/sudo.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/install/ui/sudo.js b/install/ui/sudo.js
index 46a558d85..cca9d3edf 100644
--- a/install/ui/sudo.js
+++ b/install/ui/sudo.js
@@ -948,6 +948,7 @@ IPA.sudo.rule_details_runas_section = function(spec) {
id: that.entity.name+'-runasruser_user',
name: 'ipasudorunas_user',
entity: that.entity,
+ external: 'ipasudorunasextuser',
add_method: 'add_runasuser',
remove_method: 'remove_runasuser',
add_title: IPA.messages.association.add.ipasudorunas,
@@ -982,6 +983,7 @@ IPA.sudo.rule_details_runas_section = function(spec) {
id: that.entity.name+'-runasgroup_group',
name: 'ipasudorunasgroup_group',
entity: that.entity,
+ external: 'ipasudorunasextgroup',
add_method: 'add_runasgroup',
remove_method: 'remove_runasgroup',
add_title: IPA.messages.association.add.ipasudorunasgroup,