DBA Data[Home] [Help]

APPS.PA_TASK_ASSIGNMENTS_PVT dependencies on PA_SECURITY

Line 367: -- need to call the pa_security package

363: pa_debug.write(G_PKG_NAME ,pa_debug.g_err_stage,3);
364: END IF;
365: -- As part of enforcing project security, which would determine
366: -- whether the user has the necessary privileges to update the project
367: -- need to call the pa_security package
368:
369: pa_security.initialize (X_user_id => l_user_id,
370: X_calling_module => l_module_name);
371: IF P_DEBUG_MODE = 'Y' AND (li_curr_level <= 3) THEN

Line 369: pa_security.initialize (X_user_id => l_user_id,

365: -- As part of enforcing project security, which would determine
366: -- whether the user has the necessary privileges to update the project
367: -- need to call the pa_security package
368:
369: pa_security.initialize (X_user_id => l_user_id,
370: X_calling_module => l_module_name);
371: IF P_DEBUG_MODE = 'Y' AND (li_curr_level <= 3) THEN
372: pa_debug.g_err_stage:=' After initializing security..' || L_FuncProc;
373: pa_debug.write(G_PKG_NAME ,pa_debug.g_err_stage,3);

Line 436: IF pa_security.allow_query(x_project_id => l_project_id ) = 'N' OR

432: -- Hence, cannot update the project.Raise error
433: -- If the user has query privileges, then check whether
434: -- update privileges are also available
435:
436: IF pa_security.allow_query(x_project_id => l_project_id ) = 'N' OR
437: pa_security.allow_update(x_project_id => l_project_id ) = 'N' THEN
438:
439: -- The user does not have update privileges on this project
440: -- Hence , raise error

Line 437: pa_security.allow_update(x_project_id => l_project_id ) = 'N' THEN

433: -- If the user has query privileges, then check whether
434: -- update privileges are also available
435:
436: IF pa_security.allow_query(x_project_id => l_project_id ) = 'N' OR
437: pa_security.allow_update(x_project_id => l_project_id ) = 'N' THEN
438:
439: -- The user does not have update privileges on this project
440: -- Hence , raise error
441: --dbms_output.put_line('pa_security.allow_query or update not allowed..');

Line 441: --dbms_output.put_line('pa_security.allow_query or update not allowed..');

437: pa_security.allow_update(x_project_id => l_project_id ) = 'N' THEN
438:
439: -- The user does not have update privileges on this project
440: -- Hence , raise error
441: --dbms_output.put_line('pa_security.allow_query or update not allowed..');
442: pa_interface_utils_pub.map_new_amg_msg
443: ( p_old_message_code => 'PA_PROJECT_SECURITY_ENFORCED'
444: ,p_msg_attribute => 'CHANGE'
445: ,p_resize_flag => 'Y'

Line 455: --dbms_output.put_line('pa_security.allow_query or update successful..');

451: ,p_attribute5 => '');
452: RAISE FND_API.G_EXC_ERROR;
453: END IF;
454:
455: --dbms_output.put_line('pa_security.allow_query or update successful..');
456: IF P_DEBUG_MODE = 'Y' AND (li_curr_level <= 3) THEN
457: pa_debug.g_err_stage:='PA_PROJECT_SECURITY_ENFORCED function check successful.' || L_FuncProc;
458: pa_debug.write(G_PKG_NAME ,pa_debug.g_err_stage,3);
459: END IF;