Introduce work unit permissions
Remove unclear test asserts
Introduced default value
Create work_units table migration