Add a new UserGroupRight to control access to open/close months.
[capital-apms-progress.git] / trigger / wrusrgrp.p
blobd0511def72c3be747c09161d57c9e1680a2ffe54
1 TRIGGER PROCEDURE FOR WRITE OF UsrGroup OLD BUFFER OldGroup.
3 IF UsrGroup.GroupName <> OldGroup.GroupName THEN
4 DO:
6 FOR EACH UsrGroupMember OF OldGroup EXCLUSIVE-LOCK:
7 ASSIGN UsrGroupMember.GroupName = UsrGroup.GroupName.
8 END.
10 FOR EACH UsrGroupMenu OF OldGroup EXCLUSIVE-LOCK:
11 ASSIGN UsrGroupMenu.GroupName = UsrGroup.GroupName.
12 END.
14 FOR EACH UsrGroupMenuItem OF OldGroup EXCLUSIVE-LOCK:
15 ASSIGN UsrGroupMenuItem.GroupName = UsrGroup.GroupName.
16 END.
18 END.