DBA Data[Home] [Help]

APPS.HR_SECURITY dependencies on HR_SIGNON

Line 87: return (hr_signon.g_hr_security_profile.security_profile_id);

83: FUNCTION get_hr_security_context
84: RETURN NUMBER
85: IS
86: BEGIN
87: return (hr_signon.g_hr_security_profile.security_profile_id);
88: END get_hr_security_context;
89:
90: -----------------------------------------------------------------------
91: --< is_user_rtm >------------------------------------------

Line 680: if ( hr_signon.session_context <> fnd_global.session_context )

676:
677: --
678: -- 2876315
679: --
680: if ( hr_signon.session_context <> fnd_global.session_context )
681: then
682: hr_signon.initialize_hr_security;
683: initialise_globals;
684: end if;

Line 682: hr_signon.initialize_hr_security;

678: -- 2876315
679: --
680: if ( hr_signon.session_context <> fnd_global.session_context )
681: then
682: hr_signon.initialize_hr_security;
683: initialise_globals;
684: end if;
685:
686:

Line 687: RETURN (NVL(hr_signon.g_hr_security_profile.view_all_flag

683: initialise_globals;
684: end if;
685:
686:
687: RETURN (NVL(hr_signon.g_hr_security_profile.view_all_flag
688: ,g_context.view_all_flag));
689:
690:
691: END view_all;

Line 703: -- DK 18-NOV-2002 Modified to use hr_signon cache

699: BEGIN
700:
701: --
702: -- Bug 2638726
703: -- DK 18-NOV-2002 Modified to use hr_signon cache
704: --
705:
706: if (NVL(hr_signon.g_hr_security_profile.restrict_by_supervisor_flag,
707: g_context.restrict_by_supervisor_flag) = 'N'

Line 706: if (NVL(hr_signon.g_hr_security_profile.restrict_by_supervisor_flag,

702: -- Bug 2638726
703: -- DK 18-NOV-2002 Modified to use hr_signon cache
704: --
705:
706: if (NVL(hr_signon.g_hr_security_profile.restrict_by_supervisor_flag,
707: g_context.restrict_by_supervisor_flag) = 'N'
708: and NVL(hr_signon.g_hr_security_profile.view_all_organizations_flag,
709: g_context.view_all_organizations_flag) = 'Y'
710: and NVL(hr_signon.g_hr_security_profile.view_all_positions_flag,

Line 708: and NVL(hr_signon.g_hr_security_profile.view_all_organizations_flag,

704: --
705:
706: if (NVL(hr_signon.g_hr_security_profile.restrict_by_supervisor_flag,
707: g_context.restrict_by_supervisor_flag) = 'N'
708: and NVL(hr_signon.g_hr_security_profile.view_all_organizations_flag,
709: g_context.view_all_organizations_flag) = 'Y'
710: and NVL(hr_signon.g_hr_security_profile.view_all_positions_flag,
711: g_context.view_all_positions_flag) = 'Y'
712: and NVL(hr_signon.g_hr_security_profile.view_all_payrolls_flag,

Line 710: and NVL(hr_signon.g_hr_security_profile.view_all_positions_flag,

706: if (NVL(hr_signon.g_hr_security_profile.restrict_by_supervisor_flag,
707: g_context.restrict_by_supervisor_flag) = 'N'
708: and NVL(hr_signon.g_hr_security_profile.view_all_organizations_flag,
709: g_context.view_all_organizations_flag) = 'Y'
710: and NVL(hr_signon.g_hr_security_profile.view_all_positions_flag,
711: g_context.view_all_positions_flag) = 'Y'
712: and NVL(hr_signon.g_hr_security_profile.view_all_payrolls_flag,
713: g_context.view_all_payrolls_flag) = 'Y'
714: and NVL(hr_signon.g_hr_security_profile.custom_restriction_flag,

Line 712: and NVL(hr_signon.g_hr_security_profile.view_all_payrolls_flag,

708: and NVL(hr_signon.g_hr_security_profile.view_all_organizations_flag,
709: g_context.view_all_organizations_flag) = 'Y'
710: and NVL(hr_signon.g_hr_security_profile.view_all_positions_flag,
711: g_context.view_all_positions_flag) = 'Y'
712: and NVL(hr_signon.g_hr_security_profile.view_all_payrolls_flag,
713: g_context.view_all_payrolls_flag) = 'Y'
714: and NVL(hr_signon.g_hr_security_profile.custom_restriction_flag,
715: g_context.custom_restriction_flag) = 'N' ) then
716: RETURN true;

Line 714: and NVL(hr_signon.g_hr_security_profile.custom_restriction_flag,

710: and NVL(hr_signon.g_hr_security_profile.view_all_positions_flag,
711: g_context.view_all_positions_flag) = 'Y'
712: and NVL(hr_signon.g_hr_security_profile.view_all_payrolls_flag,
713: g_context.view_all_payrolls_flag) = 'Y'
714: and NVL(hr_signon.g_hr_security_profile.custom_restriction_flag,
715: g_context.custom_restriction_flag) = 'N' ) then
716: RETURN true;
717: else
718: RETURN false;

Line 729: if (NVL(hr_signon.g_hr_security_profile.view_all_applicants_flag

725: FUNCTION view_all_applicants
726: RETURN BOOLEAN
727: IS
728: BEGIN
729: if (NVL(hr_signon.g_hr_security_profile.view_all_applicants_flag
730: ,g_context.view_all_applicants_flag) = 'Y') then
731: RETURN TRUE;
732: else
733: return FALSE;

Line 746: if NVL(hr_signon.g_hr_security_profile.view_all_cwk_flag

742: FUNCTION view_all_cwk
743: RETURN BOOLEAN
744: IS
745: BEGIN
746: if NVL(hr_signon.g_hr_security_profile.view_all_cwk_flag
747: ,g_context.view_all_cwk_flag) = 'Y' then
748: return true;
749: else
750: return false;

Line 762: if NVL(hr_signon.g_hr_security_profile.view_all_contacts_flag

758: FUNCTION view_all_contacts
759: RETURN BOOLEAN
760: IS
761: BEGIN
762: if NVL(hr_signon.g_hr_security_profile.view_all_contacts_flag
763: ,g_context.view_all_contacts_flag) = 'Y' then
764: return true;
765: else
766: return false;

Line 779: if (nvl(hr_signon.g_hr_security_profile.view_all_candidates_flag,

775: --
776: begin
777: -- This function will return TRUE if iRecruitment is not installed
778: -- or view_all_candidates_flag is set to 'All'.
779: if (nvl(hr_signon.g_hr_security_profile.view_all_candidates_flag,
780: g_context.view_all_candidates_flag) = 'Y' or
781: nvl(fnd_profile.value('IRC_INSTALLED_FLAG'), 'N') = 'N') then
782: --
783: return true;

Line 801: if NVL(hr_signon.g_hr_security_profile.view_all_employees_flag

797: FUNCTION view_all_employees
798: RETURN BOOLEAN
799: IS
800: BEGIN
801: if NVL(hr_signon.g_hr_security_profile.view_all_employees_flag
802: ,g_context.view_all_employees_flag) = 'Y' then
803: return true;
804: else
805: return false;

Line 817: if (NVL(hr_signon.g_hr_security_profile.view_all_applicants_flag

813: FUNCTION restricted_applicants
814: RETURN BOOLEAN
815: IS
816: BEGIN
817: if (NVL(hr_signon.g_hr_security_profile.view_all_applicants_flag
818: ,g_context.view_all_applicants_flag) = 'N') then
819: RETURN TRUE;
820: else
821: return FALSE;

Line 833: if NVL(hr_signon.g_hr_security_profile.view_all_cwk_flag

829: FUNCTION restricted_cwk
830: RETURN BOOLEAN
831: IS
832: BEGIN
833: if NVL(hr_signon.g_hr_security_profile.view_all_cwk_flag
834: ,g_context.view_all_cwk_flag) = 'N' then
835: return true;
836: else
837: return false;

Line 849: if NVL(hr_signon.g_hr_security_profile.view_all_contacts_flag

845: FUNCTION restricted_contacts
846: RETURN BOOLEAN
847: IS
848: BEGIN
849: if NVL(hr_signon.g_hr_security_profile.view_all_contacts_flag
850: ,g_context.view_all_contacts_flag) = 'N' then
851: return true;
852: else
853: return false;

Line 865: if NVL(hr_signon.g_hr_security_profile.view_all_employees_flag

861: FUNCTION restricted_employees
862: RETURN BOOLEAN
863: IS
864: BEGIN
865: if NVL(hr_signon.g_hr_security_profile.view_all_employees_flag
866: ,g_context.view_all_employees_flag) = 'N' then
867: return true;
868: else
869: return false;

Line 882: (NVL(hr_signon.g_hr_security_profile.view_all_organizations_flag

878: RETURN BOOLEAN
879: IS
880: BEGIN
881: RETURN
882: (NVL(hr_signon.g_hr_security_profile.view_all_organizations_flag
883: ,g_context.view_all_organizations_flag) = 'Y' );
884: END view_all_organizations;
885: --
886: -----------------------------------------------------------------------

Line 895: (NVL(hr_signon.g_hr_security_profile.view_all_positions_flag

891: RETURN BOOLEAN
892: IS
893: BEGIN
894: RETURN
895: (NVL(hr_signon.g_hr_security_profile.view_all_positions_flag
896: ,g_context.view_all_positions_flag) = 'Y' );
897: END view_all_positions;
898: --
899: -----------------------------------------------------------------------

Line 908: (NVL(hr_signon.g_hr_security_profile.restrict_by_supervisor_flag

904: RETURN BOOLEAN
905: IS
906: BEGIN
907: RETURN
908: (NVL(hr_signon.g_hr_security_profile.restrict_by_supervisor_flag
909: ,g_context.restrict_by_supervisor_flag) = 'Y' );
910: END restrict_by_supervisor;
911: --
912: --

Line 923: (NVL(hr_signon.g_hr_security_profile.view_all_payrolls_flag

919: RETURN BOOLEAN
920: IS
921: BEGIN
922: RETURN
923: (NVL(hr_signon.g_hr_security_profile.view_all_payrolls_flag
924: ,g_context.view_all_payrolls_flag) = 'Y' );
925: END view_all_payrolls;
926: --
927: --

Line 938: (NVL(hr_signon.g_hr_security_profile.exclude_person_flag

934: RETURN BOOLEAN
935: IS
936: BEGIN
937: RETURN
938: (NVL(hr_signon.g_hr_security_profile.exclude_person_flag
939: ,g_context.exclude_person_flag) = 'Y' );
940: END exclude_person;
941: --
942: -----------------------------------------------------------------------

Line 954: hr_signon.initialize_hr_security;

950: IS
951: begin
952:
953: IF globals_need_refreshing THEN
954: hr_signon.initialize_hr_security;
955: initialise_globals;
956: END IF;
957: --
958: -- return g_person_list.exists(p_person_id); -- Fixed for bug 5985232

Line 2215: hr_signon.initialize_hr_security;

2211: --
2212: -- 3676633
2213: --
2214: IF ( globals_need_refreshing ) THEN
2215: hr_signon.initialize_hr_security;
2216: initialise_globals;
2217: END IF;
2218:
2219:

Line 2362: hr_signon.initialize_hr_security;

2358: -- by calling evaluate_access with the g_mo_contexts (see below).
2359: -- If MO: Security Profile has no value, the context is already
2360: -- set to HR: Security Profile.
2361: --
2362: hr_signon.initialize_hr_security;
2363: initialise_globals;
2364: END IF;
2365:
2366: --

Line 2515: hr_signon.initialize_hr_security;

2511: ,p_assignment_id number) is
2512: begin
2513:
2514: IF globals_need_refreshing THEN
2515: hr_signon.initialize_hr_security;
2516: initialise_globals;
2517: END IF;
2518:
2519: IF g_context.view_all_flag <> 'Y' AND

Line 2538: hr_signon.initialize_hr_security;

2534: --
2535: begin
2536: --
2537: if globals_need_refreshing then
2538: hr_signon.initialize_hr_security;
2539: initialise_globals;
2540: end if;
2541: --
2542: if g_context.view_all_flag <> 'Y' then

Line 2573: hr_signon.initialize_hr_security;

2569: p_security_Profile_id number) is
2570: begin
2571: --
2572: IF globals_need_refreshing THEN
2573: hr_signon.initialize_hr_security;
2574: initialise_globals;
2575: END IF;
2576: --
2577: IF g_context.view_all_flag <> 'Y' AND

Line 2602: hr_signon.initialize_hr_security;

2598: p_security_profile_id number) is
2599: begin
2600: --
2601: IF globals_need_refreshing THEN
2602: hr_signon.initialize_hr_security;
2603: initialise_globals;
2604: END IF;
2605: --
2606: IF g_context.view_all_flag <> 'Y' AND

Line 2630: hr_signon.initialize_hr_security;

2626: (p_payroll_id number) is
2627: begin
2628:
2629: IF globals_need_refreshing THEN
2630: hr_signon.initialize_hr_security;
2631: initialise_globals;
2632: END IF;
2633:
2634: IF g_context.view_all_flag <> 'Y' AND

Line 2654: hr_signon.initialize_hr_security;

2650: begin
2651: if fnd_global.user_id <> -1 then
2652:
2653: if globals_need_refreshing then
2654: hr_signon.initialize_hr_security;
2655: initialise_globals;
2656: end if;
2657:
2658: return g_context.business_group_id;

Line 2678: hr_signon.initialize_hr_security;

2674: --
2675: -- Ensure the cache is up to date.
2676: --
2677: IF globals_need_refreshing THEN
2678: hr_signon.initialize_hr_security;
2679: initialise_globals;
2680: END IF;
2681:
2682: --

Line 2685: RETURN (NVL(hr_signon.g_hr_security_profile.restrict_on_individual_asg

2681:
2682: --
2683: -- Return the restrict on individual assignment flag.
2684: --
2685: RETURN (NVL(hr_signon.g_hr_security_profile.restrict_on_individual_asg
2686: ,NVL(g_context.restrict_on_individual_asg, 'N')) = 'Y');
2687:
2688: END restrict_on_individual_asg;
2689: --

Line 2703: hr_signon.initialize_hr_security;

2699: --
2700: -- Ensure the cache is up to date.
2701: --
2702: IF globals_need_refreshing THEN
2703: hr_signon.initialize_hr_security;
2704: initialise_globals;
2705: END IF;
2706:
2707: --

Line 2710: RETURN (NVL(hr_signon.g_hr_security_profile.restrict_on_individual_asg

2706:
2707: --
2708: -- Return the type of supervisor security.
2709: --
2710: RETURN (NVL(hr_signon.g_hr_security_profile.restrict_on_individual_asg
2711: ,NVL(g_context.restrict_on_individual_asg, 'N')));
2712:
2713: END restrict_by_supervisor_flag;
2714: --

Line 2760: --hr_signon.initialize_hr_security;

2756: --
2757: -- Initialise package global variables
2758: --
2759: --Added for the bug#12774028
2760: --hr_signon.initialize_hr_security;
2761: if NOT hr_general2.reporting_user then
2762: hr_signon.initialize_hr_security;
2763: end if;
2764:

Line 2762: hr_signon.initialize_hr_security;

2758: --
2759: --Added for the bug#12774028
2760: --hr_signon.initialize_hr_security;
2761: if NOT hr_general2.reporting_user then
2762: hr_signon.initialize_hr_security;
2763: end if;
2764:
2765: Initialise_Globals;
2766: --