Cancel
Showing results for 
Search instead for 
Did you mean: 

am_rule_harness_test for BOMView Access

Experimenter
Experimenter

Hi,

I am trying to use the am_rule_harness_test.bat file for testing the ACL which I have added in my environment.

When I give searchCriteria for searching a particular Item of one Item type in input xml file, its working fine and giving me result.

But now I want to test the access for the BOMView of that same Item type and I am giving searchCriteria as 

  • BOMView Revision{bom_view=344477-View} --> Not working
  • BOMView Revision{current_name=344477/001-View} --> Not Working
  • PSBOMViewRevision{current_name=344477/001-View}--> Not Workin}

 

Is there anyone who can help me on identifying the correct searchCriteria for the BVR to see the access?

 

Thanks 

2 REPLIES

Re: am_rule_harness_test for BOMView Access

Pioneer
Pioneer

Hi all,

 

Can somebody help me on this???

 

 

Thanks in Advance.

Re: am_rule_harness_test for BOMView Access

Experimenter
Experimenter

Hi,

 

Below you can find basic script, but you can change the search Criteria by using Query/Report manager  to find it is own objects(Always use real name od the BO).

 

<TestSuite name="Test Suite 1" description="This test suite will test x,y,z">
  <UserTest description="Tests for Item1" user_id="u1" group="Engineering" role="Designer" project="" searchCriteria="ItemRevision{item_id=000052,item_revision_id=A}">

    <PrivilegeTest privilege="READ" expectedResult="Grant"/>
    <PrivilegeTest privilege="WRITE" expectedResult="Grant"/>
    <PrivilegeTest privilege="DELETE" expectedResult="Grant"/>
    <PrivilegeTest privilege="CICO" expectedResult="Deny"/>
    <PrivilegeTest privilege="EXPORT" expectedResult="Grant"/>
    <PrivilegeTest privilege="IMPORT" expectedResult="Deny"/>
  </UserTest>
</TestSuite>