|
msiVerifyACL |
( |
msParam_t * |
collinp, |
|
|
msParam_t * |
userinp, |
|
|
msParam_t * |
authinp, |
|
|
msParam_t * |
notflaginp, |
|
|
msParam_t * |
bufout, |
|
|
msParam_t * |
statout, |
|
|
ruleExecInfo_t * |
rei | |
|
) |
| | |
- Description:
- Check the ACL on a collection
- Deprecated:
- Since 3.0, the integrityChecks module microservices have been reproduced using rules. These microservices only handled 256 files per collection. The example rules handle an arbitrary number of files.
- Module:
- integrityChecks
- Since:
- pre-2.1
- Author:
- Susan Lindsey
- Date:
- August 2008
- Note:
This function can perform three different checks, depending on flags set via input parameters:
1. check that its ACL contains the same set of user-authorization pairs as others in its collection
2. check that its ACL contains at least a given set of user-authorization pairs
3. check that its ACL does not contain a given set of user-authorization pairs
We have four input parameters: Collection Name, User Name, Authorization Type & NOT flag
For the above conditions, the following are examples of how to call the rule
1. collname=/sdscZone/home/rods%*User=rods%*Auth=own
2. collname=/sdscZone/home/rods
3. collname=/sdscZone/home/rods%*User=rods%*Auth=own*Notflag=1
- Example Usage:
- See clients/icommands/test/rules3.0/
- Parameters:
-
[in] | collinp | - a STR_MS_T containing the collection's name |
[in] | userinp | - Optional - a STR_MS_T containing comma separated list of owner usernames |
[in] | authinp | - Optional - a STR_MS_T containing comma separated list |
[in] | notflaginp | - Optional - a STR_MS_T |
[out] | bufout | - a STR_MS_T containing the output string |
[out] | statout | - the returned status |
[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:
- none
- Session Variables Modified:
- none
- iCAT Attributes Used:
- none
- iCAT Attributes Modified:
- none
- Side Effect:
- none
- Returns:
- integer
- Return values:
-
- Precondition:
- none
- Postcondition:
- none
- See also:
- none
Definition at line 244 of file integrityChecksMS.c.
|