Commit 7c3a9e4f authored by Per Cederqvist's avatar Per Cederqvist
Browse files

query-read-texts-old, query-read-texts and get-unread-confs should not

censor the secret conference, since the viewer is supervisor of the
member.
parent 25200867
......@@ -166,9 +166,9 @@ simple_expect "=1031 1 { 7 5 $any_time 00000000 }"
talk_to client 1
# query-read-texts-old
# query-read-texts-old: Note: secret conf VISIBLE.
send "1032 9 7 8\n"
simple_expect "%1032 9 8"
good_bad_expect "=1032 $any_time 8 100 0 0 \\*" "%9 8" "Bug 703"
# lookup-name
send "1033 12 [holl "secret"]\n"
......@@ -180,7 +180,7 @@ simple_expect "%1034 9 8"
send "1035 13 8 0\n"
simple_expect "%1035 9 8"
# get-membership-old. Note: secret conf visible.
# get-membership-old. Note: secret conf VISIBLE.
send "1036 46 7 0 10 1\n"
simple_expect "=1036 2 { $any_time 7 255 0 0 \\* $any_time 8 100 0 0 \\* }"
......@@ -197,9 +197,9 @@ simple_expect "=1038 [idholl "foo.unknown."] 0000010000000000 00000000 $any_time
send "1039 50 8\n"
simple_expect "%1039 9 8"
# get-unread-confs. Note: secret conf NOT visible.
# get-unread-confs. Note: secret conf visible.
send "1040 52 7\n"
simple_expect "=1040 0 \\*"
simple_expect "=1040 1 { 8 }"
# re-lookup-conf
send "1041 66 [holl "sec"]\n"
......@@ -225,9 +225,9 @@ simple_expect "%1045 9 8"
send "1046 91 8\n"
simple_expect "%1046 9 8"
# query-read-texts. Note: secret conf NOT visible.
# query-read-texts. Note: secret conf VISIBLE.
send "1047 98 7 8\n"
simple_expect "%1047 9 8"
good_bad_expect "=1047 1 $any_time 8 100 0 0 \\* 5 $any_time 00000000" "%9 8" "Bug 703"
# get-membership. Note: secret conf VISIBLE.
send "1048 99 7 0 10 1\n"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment