summaryrefslogtreecommitdiffstats
path: root/authz-test/TestSuite/TC_Perm2/42_viewByNS
diff options
context:
space:
mode:
Diffstat (limited to 'authz-test/TestSuite/TC_Perm2/42_viewByNS')
-rw-r--r--authz-test/TestSuite/TC_Perm2/42_viewByNS10
1 files changed, 10 insertions, 0 deletions
diff --git a/authz-test/TestSuite/TC_Perm2/42_viewByNS b/authz-test/TestSuite/TC_Perm2/42_viewByNS
new file mode 100644
index 00000000..69f4ed63
--- /dev/null
+++ b/authz-test/TestSuite/TC_Perm2/42_viewByNS
@@ -0,0 +1,10 @@
+# TC_Perm2.42.10.POS List Roles from NS when not allowed to see NS
+as testid@aaf.att.com
+expect 200
+perm list ns com.test.TC_Perm2.@[user.name].p
+
+# TC_Perm2.42.20.NEG Don't List Roles from NS when not allowed to see NS
+as testunused@aaf.att.com
+expect 403
+perm list ns com.test.TC_Perm2.@[user.name].p
+