summaryrefslogtreecommitdiffstats
path: root/ipatests/test_webui
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2014-05-29 14:27:08 +0200
committerPetr Vobornik <pvoborni@redhat.com>2014-06-12 09:56:49 +0200
commitf1b83198da67b6cbf49209371b8a96536a13703e (patch)
tree9e63878a5a0ef62ff87f58d7186ac8185f427bb7 /ipatests/test_webui
parentf0c19f907e27f2cd80b68ae32d20befe847ba443 (diff)
downloadfreeipa-f1b83198da67b6cbf49209371b8a96536a13703e.tar.gz
freeipa-f1b83198da67b6cbf49209371b8a96536a13703e.tar.xz
freeipa-f1b83198da67b6cbf49209371b8a96536a13703e.zip
webui: control sudo rule deny command tables by category switch
`memberdenycmd_sudocmd` and `memberdenycmd_sudocmdgroup` tables are now enabled/disabled based on `cmdcategory` as well. https://fedorahosted.org/freeipa/ticket/4361 Reviewed-By: Nathaniel McCallum <npmccallum@redhat.com>
Diffstat (limited to 'ipatests/test_webui')
-rw-r--r--ipatests/test_webui/test_sudo.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipatests/test_webui/test_sudo.py b/ipatests/test_webui/test_sudo.py
index acc1373ea..94e0892b0 100644
--- a/ipatests/test_webui/test_sudo.py
+++ b/ipatests/test_webui/test_sudo.py
@@ -111,6 +111,8 @@ class test_sudo(UI_driver):
self.delete(group.ENTITY, [group.DATA, group.DATA2])
self.delete(HOST_ENTITY, [host.data, host.data2])
self.delete(hostgroup.ENTITY, [hostgroup.DATA, hostgroup.DATA2])
+ self.delete(sudo.CMDENTITY, [sudo.CMD_DATA, sudo.CMD_DATA2])
+ self.delete(sudo.CMDGROUP_ENTITY, [sudo.CMDGROUP_DATA, sudo.CMDGROUP_DATA2])
@screenshot
def test_actions(self):