msiSetNoDirectRescInp ( msParam_t *  xrescList,
ruleExecInfo_t *  rei 
)
Description:
This microservice sets a list of resources that cannot be used by a normal user directly. It checks a given list of taboo-resources against the user provided resource name and disallows if the resource is in the list of taboo-resources.
Module:
core
Since:
pre-2.1
Author:
Mike Wan
Date:
2006-11
Note:
This microservice is optional, but if used, should be the first function to execute because it screens the resource input.
Example Usage:
See clients/icommands/test/rules3.0/
Parameters:
[in] xrescList - InpParam is a xrescList of type STR_MS_T which is a list of -delimited resourceNames e.g., resc1resc2resc3.
[in,out] rei - The RuleExecInfo structure that is automatically handled by the rule engine. The user does not include rei as a parameter in the rule invocation.
Session Variables Used:
rei->doinp->condInput - user set resource list rei->rsComm->proxyUser.authInfo.authFlag
Session Variables Modified:
none
iCAT Attributes Used:
none
iCAT Attributes Modified:
none
Side Effect:
none
Returns:
integer
Return values:
0 if user set resource is allowed or user is privileged.
USER_DIRECT_RESC_INPUT_ERR if resource is taboo.
Precondition:
none
Postcondition:
none
See also:
none

Definition at line 207 of file reSysDataObjOpr.c.

Generated on Thu Oct 31 10:28:28 2013 for iRODS Documentation by  doxygen 1.6.3