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

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

Defined in packages/chat/tcl/xotcl-chat-procs.tcl

Grants operative privileges to the specified party. In detail, the permission to read and write for the chat room.

Switches:
-party_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 permission::grant permission::grant (public) xo::db::chat_room instproc grant_user xo::db::chat_room instproc grant_user xo::db::chat_room instproc grant_user->permission::grant

Testcases:
No testcase defined.
Source code:
::xo::dc transaction {
    foreach privilege {read write} {
        permission::grant  -party_id  $party_id  -object_id ${:room_id}  -privilege chat_${privilege}
    }
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: