-
Notifications
You must be signed in to change notification settings - Fork 0
Home
-
There are 4 possible States of a Request
-
NEW
: not inspected yet, e.g. noapproved_quantity
was entered -
APPROVED
: theapproved_quantity
is at least therequested_quantity
-
PARTIALLY_APPROVED
: theapproved_quantity
is less than therequested_quantity
-
DENIED
: theapproved_quantity
is 0
-
-
Admins and Inspectors can always see and filter for all 4 States.
-
Requesters are NOT allowed to see/filter for those "real" States for BudgetPeriods that are not past the inspection phase. Instead, the State of those Requests is only dependendent on the current phase of the BudgetPeriod they are in
-
NEW
: inspection phase of the BudgetPeriod has not yet started -
IN_APPROVAL
: inspection phase of the BudgetPeriod is ongoing - for past BudgetPeriod: all States allowed (like for Inspectors)
-
-
In the UI, all possible State-Filters are offered. State-Filters that are not allowed for a BudgetPeriod are ignored in the API. Example: If I send a filter it will be applied to all requests in BudgetPeriods where I am allowed to use that filter – and where I am not allowed to use it it has no effect at all (as if I would not have sent it)
NOTE: same is true when editing/updating a Request
When I am Inspector of a Category
And I create a new Request for this Category
Then I see a 'Requester' User-Selector
And the User-Selector is prefilled with my Name
And I can search for, find and select a Requester
And I can search for, but NOT find and NOT select a non-Requester
When I am Requester of a Category
And I create a new Request for this Category where I am not Inspector
Then I do NOT see a 'Requester' User-Dropdown
When I am Inspector of a Category
And I create a new Request for a Category where I am not Inspector
Then I do NOT see a 'Requester' User-Dropdown
- there is
room.general
but notbuilding.general
?