DBA Data[Home] [Help]

APPS.PA_SECURITY_EXTN dependencies on PA_SECURITY

Line 1: PACKAGE BODY pa_security_extn AS

1: PACKAGE BODY pa_security_extn AS
2: /* $Header: PAPSECXB.pls 120.5 2007/10/24 04:24:31 rballamu ship $ */
3:
4: PROCEDURE check_project_access ( X_project_id IN NUMBER
5: , X_person_id IN NUMBER

Line 21: The pa_security_extn will be invoked from the following modules.

17: BEGIN
18:
19: /*** Calling Modules *********************************************************
20:
21: The pa_security_extn will be invoked from the following modules.
22: You can use the module name in this extension to control project access in
23: a specific module. The calling module parameter X_calling_module has the
24: following values.
25:

Line 135: -- CHECK_PROJECT_AUTHORITY is defined in the PA_SECURITY package. It takes

131: -- active key members defined for the project.
132:
133: -- PA provides an API to determine whether or not a given person is a
134: -- project authority on a specified project. This function,
135: -- CHECK_PROJECT_AUTHORITY is defined in the PA_SECURITY package. It takes
136: -- two input parameters, person_id and project_id, and returns as
137: -- output:
138: -- 'Y' if the person is a project authority for the project,
139: -- 'N' if the person is not.

Line 146: -- CHECK_KEY_MEMBER is defined in the PA_SECURITY package. It takes

142: -- project, then the function returns NULL.
143:
144: -- PA provides an API to determine whether or not a given person is an
145: -- active key member on a specified project. This function,
146: -- CHECK_KEY_MEMBER is defined in the PA_SECURITY package. It takes
147: -- two input parameters, person_id and project_id, and returns as
148: -- output:
149: -- 'Y' if the person is an active key member for the project,
150: -- 'N' if the person is not.

Line 165: IF pa_security.check_key_member( X_person_id, X_project_id ) = 'Y' THEN

161: END IF;
162:
163: /*Enhancement 6519194 changes begin here*/
164: /* IF X_calling_module = 'PA_FORECASTING' THEN
165: IF pa_security.check_key_member( X_person_id, X_project_id ) = 'Y' THEN
166: X_value := 'Y';
167: RETURN;
168: END IF;
169:

Line 170: X_value := pa_security.check_forecast_authority( X_person_id, X_project_id );

166: X_value := 'Y';
167: RETURN;
168: END IF;
169:
170: X_value := pa_security.check_forecast_authority( X_person_id, X_project_id );
171: ELSE
172: */
173: IF pa_security.check_key_member_no_dates( X_person_id, X_project_id ) = 'Y' THEN
174: X_value := 'Y';

Line 173: IF pa_security.check_key_member_no_dates( X_person_id, X_project_id ) = 'Y' THEN

169:
170: X_value := pa_security.check_forecast_authority( X_person_id, X_project_id );
171: ELSE
172: */
173: IF pa_security.check_key_member_no_dates( X_person_id, X_project_id ) = 'Y' THEN
174: X_value := 'Y';
175: RETURN;
176: END IF;
177:

Line 178: X_value := pa_security.check_project_authority( X_person_id, X_project_id );

174: X_value := 'Y';
175: RETURN;
176: END IF;
177:
178: X_value := pa_security.check_project_authority( X_person_id, X_project_id );
179: /* END IF;*/ --Enhancement 6519194 changes end here.
180:
181: RETURN;
182:

Line 196: IF pa_security.check_key_member( X_person_id, X_project_id ) = 'Y' THEN

192: X_value := 'Y';
193: RETURN;
194: END IF;
195:
196: IF pa_security.check_key_member( X_person_id, X_project_id ) = 'Y' THEN
197: X_value := 'Y';
198: RETURN;
199: END IF;
200:

Line 201: X_value := pa_security.check_project_authority( X_person_id, X_project_id );

197: X_value := 'Y';
198: RETURN;
199: END IF;
200:
201: X_value := pa_security.check_project_authority( X_person_id, X_project_id );
202: RETURN;
203:
204: RETURN;
205:

Line 217: -- the PA_SECURITY package. It takes two input parameters, person_id

213:
214: -- PA provides an API to determine whether or not a given person
215: -- has VIEW_LABOR_COSTS access for a given project based on the above
216: -- criteria. This function, CHECK_LABOR_COST_ACCESS is defined in
217: -- the PA_SECURITY package. It takes two input parameters, person_id
218: -- and project_id, and returns as output:
219: -- 'Y' if the person has access to view labor costs
220: -- 'N' if the person does not.
221:

Line 230: X_value := pa_security.check_labor_cost_access( X_person_id

226: X_value := 'Y';
227: RETURN;
228: END IF;
229:
230: X_value := pa_security.check_labor_cost_access( X_person_id
231: , X_project_id );
232: RETURN;
233:
234: END IF;

Line 243: END pa_security_extn;

239: Raise;
240:
241: END check_project_access;
242:
243: END pa_security_extn;