40: end;
41:
42: --first check whether the user is intended recipient or from role or more info role
43: -- Check if current user has WF_ADMIN_ROLE privileges.
44: if((Wf_Directory.IsPerformer(username, recipient)) OR
45: (Wf_Directory.IsPerformer(username, orig_recipient)) OR
46: (Wf_Directory.IsPerformer(username, more_info_role)) OR
47: (Wf_Directory.IsPerformer(username, from_role)) OR
48: (Wf_Directory.IsPerformer(username, admin_role)) OR
41:
42: --first check whether the user is intended recipient or from role or more info role
43: -- Check if current user has WF_ADMIN_ROLE privileges.
44: if((Wf_Directory.IsPerformer(username, recipient)) OR
45: (Wf_Directory.IsPerformer(username, orig_recipient)) OR
46: (Wf_Directory.IsPerformer(username, more_info_role)) OR
47: (Wf_Directory.IsPerformer(username, from_role)) OR
48: (Wf_Directory.IsPerformer(username, admin_role)) OR
49: (admin_role = '*')) then
42: --first check whether the user is intended recipient or from role or more info role
43: -- Check if current user has WF_ADMIN_ROLE privileges.
44: if((Wf_Directory.IsPerformer(username, recipient)) OR
45: (Wf_Directory.IsPerformer(username, orig_recipient)) OR
46: (Wf_Directory.IsPerformer(username, more_info_role)) OR
47: (Wf_Directory.IsPerformer(username, from_role)) OR
48: (Wf_Directory.IsPerformer(username, admin_role)) OR
49: (admin_role = '*')) then
50: return(username);
43: -- Check if current user has WF_ADMIN_ROLE privileges.
44: if((Wf_Directory.IsPerformer(username, recipient)) OR
45: (Wf_Directory.IsPerformer(username, orig_recipient)) OR
46: (Wf_Directory.IsPerformer(username, more_info_role)) OR
47: (Wf_Directory.IsPerformer(username, from_role)) OR
48: (Wf_Directory.IsPerformer(username, admin_role)) OR
49: (admin_role = '*')) then
50: return(username);
51: else
44: if((Wf_Directory.IsPerformer(username, recipient)) OR
45: (Wf_Directory.IsPerformer(username, orig_recipient)) OR
46: (Wf_Directory.IsPerformer(username, more_info_role)) OR
47: (Wf_Directory.IsPerformer(username, from_role)) OR
48: (Wf_Directory.IsPerformer(username, admin_role)) OR
49: (admin_role = '*')) then
50: return(username);
51: else
52: -- Authenticate functionality to be in sync with "Notifications from me" view