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:02:20 -0200
commitf3a5d4883666c7e04e23cb454e28ccc83c54f04a (patch)
tree7693bda75e782fee96a834132636318bac026dac
parent5a3268fc7d731232844eb9391be722db2179f24c (diff)
downloadfreeipa-f3a5d4883666c7e04e23cb454e28ccc83c54f04a.tar.gz
freeipa-f3a5d4883666c7e04e23cb454e28ccc83c54f04a.tar.xz
freeipa-f3a5d4883666c7e04e23cb454e28ccc83c54f04a.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 8228951c3..af625661e 100644
--- a/install/ui/sudo.js
+++ b/install/ui/sudo.js
@@ -912,6 +912,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,
@@ -946,6 +947,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,