Description
In some countries only the original "preparer" of the declaration form can update it once it is "In Review" or "Requires Updates"
This ticket is to:
- Add scope record.declaration-edit
- If a user has this scope then the 'Change' links show for the user
- This lets the edit the declaration created by another user
- A user can edit their declaration by default (this scope is not required)
ACs
GIVEN i have the record.declaration-edit scope
WHEN reviewing a declaration with the status "Incomplete, "Validated", "In Review" or "Requires Updates"
THEN I can edit the declaration (Change links show)
! Don't need record.declaration-edit scope to edit my own records
GIVEN i don't have the record.declaration-edit scope
WHEN reviewing a declaration started by me
THEN I can edit my declaration (Change links show)
Tech tasks