ad_user_group_action_add db group_id actionWhat it does:
Inserts a action into a user_group.Defined in: /web/philip/packages/acs-core/user-groups-procs.tcl
Source code:
ns_db dml $db "insert into user_group_actions (group_id, action, creation_user, creation_ip_address) select $group_id, '[DoubleApos $action]', [ad_get_user_id], '[DoubleApos [peeraddr]]' from dual where not exists (select action from user_group_actions where group_id = $group_id and action = '[DoubleApos $action]')"