DBA Data[Home] [Help]

APPS.PA_TASK_ASSIGNMENTS_PVT dependencies on PA_SECURITY

Line 405: -- need to call the pa_security package

401: pa_debug.write(G_PKG_NAME ,pa_debug.g_err_stage,3);
402: END IF;
403: -- As part of enforcing project security, which would determine
404: -- whether the user has the necessary privileges to update the project
405: -- need to call the pa_security package
406:
407: pa_security.initialize (X_user_id => l_user_id,
408: X_calling_module => l_module_name);
409: IF P_DEBUG_MODE = 'Y' AND (li_curr_level <= 3) THEN

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

403: -- As part of enforcing project security, which would determine
404: -- whether the user has the necessary privileges to update the project
405: -- need to call the pa_security package
406:
407: pa_security.initialize (X_user_id => l_user_id,
408: X_calling_module => l_module_name);
409: IF P_DEBUG_MODE = 'Y' AND (li_curr_level <= 3) THEN
410: pa_debug.g_err_stage:=' After initializing security..' || L_FuncProc;
411: pa_debug.write(G_PKG_NAME ,pa_debug.g_err_stage,3);

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

473: -- Hence, cannot update the project.Raise error
474: -- If the user has query privileges, then check whether
475: -- update privileges are also available
476:
477: IF pa_security.allow_query(x_project_id => l_project_id ) = 'N' OR
478: pa_security.allow_update(x_project_id => l_project_id ) = 'N' THEN
479:
480: -- The user does not have update privileges on this project
481: -- Hence , raise error

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

474: -- If the user has query privileges, then check whether
475: -- update privileges are also available
476:
477: IF pa_security.allow_query(x_project_id => l_project_id ) = 'N' OR
478: pa_security.allow_update(x_project_id => l_project_id ) = 'N' THEN
479:
480: -- The user does not have update privileges on this project
481: -- Hence , raise error
482: --dbms_output.put_line('pa_security.allow_query or update not allowed..');

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

478: pa_security.allow_update(x_project_id => l_project_id ) = 'N' THEN
479:
480: -- The user does not have update privileges on this project
481: -- Hence , raise error
482: --dbms_output.put_line('pa_security.allow_query or update not allowed..');
483: pa_interface_utils_pub.map_new_amg_msg
484: ( p_old_message_code => 'PA_PROJECT_SECURITY_ENFORCED'
485: ,p_msg_attribute => 'CHANGE'
486: ,p_resize_flag => 'Y'

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

492: ,p_attribute5 => '');
493: RAISE FND_API.G_EXC_ERROR;
494: END IF;
495:
496: --dbms_output.put_line('pa_security.allow_query or update successful..');
497: IF P_DEBUG_MODE = 'Y' AND (li_curr_level <= 3) THEN
498: pa_debug.g_err_stage:='PA_PROJECT_SECURITY_ENFORCED function check successful.' || L_FuncProc;
499: pa_debug.write(G_PKG_NAME ,pa_debug.g_err_stage,3);
500: END IF;