Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel4

...

Acq. UnitprotectCreateprotectReadprotectUpdateprotectDelete
AllowFundViewAcqUnitFundAllowFundViewAcqUnitfalsefalsetruetrue
RestrictFundViewAcqUnittruetruefalsetrue
Effectivefalsefalsefalsetrue

...

          1. WITHOUT ANY acq units (FundWithoutAcqUnits)
          2. Have at least one of acq unit(s) as the user (FundRistrictView1, FundRistrictView2)
          3. Haveacq unit(s) which DON'T protect read (FundAllowView)

...

    • Given UserRestrictFundView 
    • And "Fund View" opened
    • When user select RestrictFundViewAcqUnit in the filter "Acquisition units"
    • Then Only Fund(s) with acquisition unit RestrictFundViewAcqUnit are displayed (FundRistrictView1, FundRistrictView2)

Add/Update PO line

Show funds in filter list 

...

          1. WITHOUT ANY acq units (FundWithoutAcqUnits)
          2. Have at least one of acq unit(s) as the user (FundRistrictView1, FundRistrictView2)
          3. Haveacq unit(s) which DON'T protect read (FundAllowView)

 2. Scenario

    • Given user belongs to AllowFundViewAcqUnit FundAllowFundViewAcqUnit
    • And Open "Add PO Line" form
    • When Selecting Funds from the filter list
    • Then Fund(s) are displayed :
          1. WITHOUT ANY acq units (FundWithoutAcqUnits)
          2. Have at least one of acq unit(s) as the user (FundRistrictView2)
          3. Haveacq unit(s) which DON'T protect read (FundAllowView)

...

          1. WITHOUT ANY acq units (FundWithoutAcqUnits)
          2. Have at least one of acq unit(s) as the user (FundRistrictView1, FundRistrictView2)
          3. Haveacq unit(s) which DON'T protect read (FundAllowView)

...

4. Scenario

    • Given user belongs to AllowFundViewAcqUnit FundAllowFundViewAcqUnit
    • And fundDistributions contain FundAllowView, FundWithoutAcqUnits
    • When Save PO line
    • Then PO line save successfully

5. Scenario

    • Given user belongs to AllowFundViewAcqUnit FundAllowFundViewAcqUnit
    • And fundDistributions contain FundRistrictView2
    • When Save PO line
    • Then PO line save successfully

6. Scenario

    • Given user belongs to AllowFundViewAcqUnit FundAllowFundViewAcqUnit
    • And fundDistributions contain FundRistrictView1
    • When Save PO line
    • Then Error must be return "Not allowed to add funds : FundRistrictView1"

7. Scenario

    • Given user belongs to AllowFundViewAcqUnit FundAllowFundViewAcqUnit
    • And fundDistributions contain FundAllowView, FundRistrictView1
    • When Save PO line
    • Then Error must be return "Not allowed to add funds : FundRistrictView1"

...