xo::db::chat_room instproc revoke_moderator (public)

 <instance of xo::db::chat_room[i]> revoke_moderator \
    -party_id party_id 

Defined in /var/www/openacs.org/packages/chat/tcl/xotcl-chat-procs.tcl

Revoke moderation rights on the chat room for specified party

Switches:
-party_id (required)

Testcases:
No testcase defined.
Source code:
set parties $party_id
foreach party_id $parties {
    permission::revoke  -party_id  $party_id  -object_id ${:room_id}  -privilege chat_room_moderate
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: