Remove user from assigned roles
This commit is contained in:
parent
ab0049ef2a
commit
a3495ffb11
@ -44,6 +44,9 @@ COMPOUND TRIGGER
|
|||||||
--
|
--
|
||||||
curr_event_id := app.log_event('USER_ID_CHANGED');
|
curr_event_id := app.log_event('USER_ID_CHANGED');
|
||||||
END IF;
|
END IF;
|
||||||
|
ELSE
|
||||||
|
DELETE FROM user_roles r
|
||||||
|
WHERE r.user_id = :OLD.user_id;
|
||||||
END IF;
|
END IF;
|
||||||
EXCEPTION
|
EXCEPTION
|
||||||
WHEN app.app_exception THEN
|
WHEN app.app_exception THEN
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user