Closed kpsherva closed 5 years ago
I am a bit confused here.
What we have discusses was to "invert" the logic for defining status from available
to on_loan
.
Moreover, I think that permissions on a specific transition should not be implemented here, because otherwise we will have to define an action for each transition (why only checkout).
But I might have misunderstood the purpose of this PR.
@zzacharo can you please review again so we can fix or merge?
Allowing the manager or loan owner to checkout if the state is ITEM_AT_DESK
(closes #71)