Commit d4848a5a authored by cosine's avatar cosine

- Now performing a pre-action audit of risks to be updated

parent e769c222
......@@ -29,6 +29,13 @@ set user_name [im_name_from_user_id [ad_conn user_id]]
if {"" != $action_id} { set action [im_category_from_id -translate_p 0 $action_id] }
set action_forbidden_msg [lang::message::lookup "" intranet-riskmanagement.Action_Forbidden "<b>Unable to execute action</b>:<br>You don't have the permissions to execute the action '%action%'."]
foreach rid [array names risk_id] {
# Write Audit Trail before update, just in case
im_audit -object_id $rid -action before_update
}
switch [string tolower $action] {
delete {
# Delete
......
Markdown is supported
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