Delete assigned roles
This commit is contained in:
parent
d0d374dc75
commit
e383ae2149
@ -45,6 +45,10 @@ COMPOUND TRIGGER
|
||||
--
|
||||
curr_event_id := app.log_event('ROLE_ID_CHANGED');
|
||||
END IF;
|
||||
ELSE
|
||||
DELETE FROM user_roles u
|
||||
WHERE u.app_id = :OLD.app_id
|
||||
AND u.role_id = :OLD.role_id;
|
||||
END IF;
|
||||
EXCEPTION
|
||||
WHEN app.app_exception THEN
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user