DBA Data[Home] [Help]

APPS.PA_PROJECT_PVT dependencies on PA_SECURITY

Line 5671: -- need to call the pa_security package

5667: l_module_name := 'PA_PM_UPDATE_TASK';
5668:
5669: -- As part of enforcing project security, which would determine
5670: -- whether the user has the necessary privileges to update the task
5671: -- need to call the pa_security package
5672:
5673: pa_security.initialize (X_user_id => l_user_id,
5674: X_calling_module => l_module_name);
5675:

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

5669: -- As part of enforcing project security, which would determine
5670: -- whether the user has the necessary privileges to update the task
5671: -- need to call the pa_security package
5672:
5673: pa_security.initialize (X_user_id => l_user_id,
5674: X_calling_module => l_module_name);
5675:
5676: -- Actions performed using the APIs would be subject to
5677: -- function security. If the responsibility does not allow

Line 5846: IF pa_security.allow_query (x_project_id => l_project_id ) = 'N' THEN

5842:
5843: -- Now verify whether project security allows the user to update
5844: -- the task
5845:
5846: IF pa_security.allow_query (x_project_id => l_project_id ) = 'N' THEN
5847:
5848:
5849: -- The user does not have query privileges on this project
5850: -- Hence, cannot update the task.Raise error

Line 5868: PA_PROJECT_PUB.G_UPDATE_PRJ_ALLOWED := pa_security.allow_update (x_project_id => l_project_id );

5864: ELSE
5865: -- Caching for Huawei enhancement bug 13923366 by skkoppul
5866: IF PA_PROJECT_PUB.G_MASS_UPDATE_TASKS = 'Y' THEN
5867: IF PA_PROJECT_PUB.G_UPDATE_PRJ_ALLOWED IS NULL THEN
5868: PA_PROJECT_PUB.G_UPDATE_PRJ_ALLOWED := pa_security.allow_update (x_project_id => l_project_id );
5869: IF PA_PROJECT_PUB.G_UPDATE_PRJ_ALLOWED = 'N' THEN
5870: pa_interface_utils_pub.map_new_amg_msg
5871: ( p_old_message_code => 'PA_PROJECT_SECURITY_ENFORCED'
5872: ,p_msg_attribute => 'CHANGE'

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

5881: RAISE FND_API.G_EXC_ERROR;
5882: END IF;
5883: END IF;
5884: ELSE
5885: IF pa_security.allow_update (x_project_id => l_project_id ) = 'N' THEN
5886:
5887: -- The user does not have update privileges on this project
5888: -- Hence , raise error
5889:

Line 10386: -- need to call the pa_security package

10382:
10383:
10384: -- As part of enforcing project security, which would determine
10385: -- whether the user has the necessary privileges to delete the project
10386: -- need to call the pa_security package
10387:
10388: pa_security.initialize (X_user_id => l_user_id,
10389: X_calling_module => l_module_name);
10390:

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

10384: -- As part of enforcing project security, which would determine
10385: -- whether the user has the necessary privileges to delete the project
10386: -- need to call the pa_security package
10387:
10388: pa_security.initialize (X_user_id => l_user_id,
10389: X_calling_module => l_module_name);
10390:
10391: -- Actions performed using the APIs would be subject to
10392: -- function security. If the responsibility does not allow

Line 10451: IF pa_security.allow_query (x_project_id => l_project_id ) = 'N' THEN

10447:
10448: -- Now verify whether project security allows the user to delete
10449: -- the project
10450:
10451: IF pa_security.allow_query (x_project_id => l_project_id ) = 'N' THEN
10452:
10453: -- The user does not have query privileges on this project
10454: -- Hence, cannot delete the project.Raise error
10455:

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

10467: RAISE FND_API.G_EXC_ERROR;
10468: ELSE
10469: -- If the user has query privileges, then check whether
10470: -- update privileges are also available
10471: IF pa_security.allow_update (x_project_id => l_project_id ) = 'N' THEN
10472:
10473: -- The user does not have update privileges on this project
10474: -- Hence , raise error
10475: