DBA Data[Home] [Help]

APPS.WF_ROUTE dependencies on WF_DIRECTORY

Line 79: Wf_Directory.IsPerformer(curuser, admin_role)) then

75: -- If admin granted to current user,
76: -- grant access and pretend to be
77: admin_role := wf_core.translate('WF_ADMIN_ROLE');
78: if (admin_role = '*' or
79: Wf_Directory.IsPerformer(curuser, admin_role)) then
80: return(user);
81: end if;
82:
83: -- Otherwise current user must match the user checking

Line 278: wf_directory.GetRoleInfo(dvalue, realname, s0, s0, s0, s0);

274: -- always print the display field as null
275: htp.formHidden('h_fvalues', dvalue);
276:
277: -- get the display name
278: wf_directory.GetRoleInfo(dvalue, realname, s0, s0, s0, s0);
279:
280: -- add LOV here: Note:bottom is name of frame.
281: -- Note: The REPLACE function replaces all the space characters with
282: -- the proper escape sequence.

Line 503: role_info_tbl wf_directory.wf_local_roles_tbl_type;

499: return varchar2
500: is
501: dummy number;
502: rname varchar2(320); -- Internal name of role
503: role_info_tbl wf_directory.wf_local_roles_tbl_type;
504: begin
505: -- Look first for internal name
506: rname := upper(ValidateRole.role);
507: Wf_Directory.GetRoleInfo2(rname,role_info_tbl);

Line 507: Wf_Directory.GetRoleInfo2(rname,role_info_tbl);

503: role_info_tbl wf_directory.wf_local_roles_tbl_type;
504: begin
505: -- Look first for internal name
506: rname := upper(ValidateRole.role);
507: Wf_Directory.GetRoleInfo2(rname,role_info_tbl);
508: if (role_info_tbl(1).name is not null) then
509: return(rname);
510: end if;
511:

Line 779: wf_directory.GetRoleInfo(owner, realname, s0, s0, s0, s0);

775: -- Find rule owner and validate access
776: nruleid := to_number(rule_id);
777: owner := Wf_Route.RuleOwner(nruleid);
778: owner := Wf_Route.Authenticate(owner);
779: wf_directory.GetRoleInfo(owner, realname, s0, s0, s0, s0);
780:
781: l_action := substrb(action, 1, 30);
782:
783: if (delete_button is not null) then

Line 959: wf_directory.GetRoleInfo(owner, realname, s0, s0, s0, s0);

955: -- Find rule owner and validate access
956: nruleid := to_number(ruleid);
957: owner := Wf_Route.RuleOwner(nruleid);
958: owner := Wf_Route.Authenticate(owner);
959: wf_directory.GetRoleInfo(owner, realname, s0, s0, s0, s0);
960:
961: -- Get rule data
962: open rulecurs;
963: fetch rulecurs into rulerec;

Line 1112: wf_directory.GetRoleInfo(rulerec.action_argument, realname, s0, s0, s0, s0);

1108: htp.formHidden('action_argument', rulerec.action_argument);
1109:
1110: if (rulerec.action_argument IS NOT NULL) then
1111:
1112: wf_directory.GetRoleInfo(rulerec.action_argument, realname, s0, s0, s0, s0);
1113:
1114: end if;
1115:
1116: -- add LOV here: Note:bottom is name of frame.

Line 1361: wf_directory.GetRoleInfo(owner, realname, s0, s0, s0, s0);

1357:
1358: begin
1359: -- Validate access
1360: owner := Wf_Route.Authenticate(user);
1361: wf_directory.GetRoleInfo(owner, realname, s0, s0, s0, s0);
1362:
1363: -- Check if delete
1364:
1365: if (delete_button is not null) then

Line 1620: wf_directory.GetRoleInfo(username, realname, s0, s0, s0, s0);

1616: end if;
1617:
1618: -- Check current user has access to this user
1619: username := Wf_Route.Authenticate(upper(t_user));
1620: wf_directory.GetRoleInfo(username, realname, s0, s0, s0, s0);
1621:
1622:
1623: -- Set today's date
1624: select sysdate into today from sys.dual;

Line 1739: wf_directory.GetRoleInfo(rule.action_argument, forwardname,

1735:
1736:
1737: if ( rule.action = 'FORWARD' ) then
1738: -- get the display name of the forwardee in delegation
1739: wf_directory.GetRoleInfo(rule.action_argument, forwardname,
1740: s0, s0, s0, s0);
1741: htp.tableData(htf.anchor(wfa_html.base_url||
1742: '/Wf_Route.UpdateRule?ruleid='||
1743: to_char(rule.rule_id),

Line 1749: wf_directory.GetRoleInfo(rule.action_argument, forwardname,

1745: forwardname),
1746: 'left',cattributes=>'id=""');
1747: elsif ( rule.action = 'TRANSFER' ) then
1748: -- get the display name of the forwardee in transfering
1749: wf_directory.GetRoleInfo(rule.action_argument, forwardname,
1750: s0, s0, s0, s0);
1751: htp.tableData(htf.anchor(wfa_html.base_url||
1752: '/Wf_Route.UpdateRule?ruleid='||
1753: to_char(rule.rule_id),

Line 1923: wf_directory.GetRoleInfo(curuser, realname, s0, s0, s0, s0);

1919:
1920: begin
1921: -- Check if current user has admin role
1922: Wfa_Sec.GetSession(curuser);
1923: wf_directory.GetRoleInfo(curuser, realname, s0, s0, s0, s0);
1924: admin_role := wf_core.translate('WF_ADMIN_ROLE');
1925: if (admin_role <> '*' and
1926: not Wf_Directory.IsPerformer(curuser, admin_role)) then
1927: -- If current user does not have admin,

Line 1926: not Wf_Directory.IsPerformer(curuser, admin_role)) then

1922: Wfa_Sec.GetSession(curuser);
1923: wf_directory.GetRoleInfo(curuser, realname, s0, s0, s0, s0);
1924: admin_role := wf_core.translate('WF_ADMIN_ROLE');
1925: if (admin_role <> '*' and
1926: not Wf_Directory.IsPerformer(curuser, admin_role)) then
1927: -- If current user does not have admin,
1928: -- go directly to rules list for current user.
1929: Wf_Route.List(curuser, '--EDITSCREEN--');
1930: -- Wf_Route.ListFrame;