Locking and Unlocking¶
Some entities can be locked to prevent unauthorised users from editing/deleting them. Currently lockable entities are
AADTs
SEDs
TINs
Programmes
LA Programmes
Projects
The padlock icon at the top right corner of editing forms will inform the user if the entity they are viewing is locked. The UI will disable the DELETE and SAVE buttons on editing forms for locked entities.
MD Programmes and Projects can be temporarily unlocked by users belonging to the “Unlocker” role. They can be unlocked independently even if a project is assigned to a programme. The unlocked entities will be editable only once, then they will be automatically locked again once the Edit is complete.
For LA Programmes in the “Pre-Close Out” phase, if all associated Projects are in the “Complete” phase when submitted the LA Programme moves to “Closed Out” and can no longer be resubmitted.
Once locked, individual Projects and Programmes can still be Unlocked and edited, but the Locked LA Programmes will be unlockabale.
There are a few noticeable use cases:
Programme is locked¶
PROGRAMME - LOCKED |
Programme cannot be saved |
Programme cannot be deleted |
|
Projects cannot be removed from the list in the programmes forms |
|
Double click on the project will still open the Project editing forms |
Programme is unlocked¶
PROGRAMME - UNLOCKED |
Associated locked Projects cannot be removed |
If linked to locked projects, programme cannot be deleted |
Project is locked¶
PROJECT - LOCKED |
Project cannot be saved |
Project cannot be deleted |
Project is unlocked¶
PROJECT - UNLOCKED |
In the funding Source Grid (Expenditure Tab), if an existing row is related to a locked programme, the row cannot be edited |
In the funding Source Grid (Expenditure Tab), if an existing row is related to a locked programme, the row cannot be deleted |
|
When adding an new Row in the funding Source Grid (Expenditure Tab), locked programmes will not be listed in the dropdown |
|
If the Project is Linked to a locked programme, the project will not be deletable |