Allowing null values for data relation.
[SD-1214] Instances of actions for states
[SD-1214] Instances of actions for states
[SD-1220] Create missing privileges
[SD-1220] Create missing privileges - improvements
Merge remote-tracking branch 'upstream/feat-workflow' into feat-workflow
[SD-1220] Wired up missing privileges
Merge remote-tracking branch 'upstream/feat-workflow' into feat-workflow
Merge remote-tracking branch 'upstream/feat-workflow' into feat-workflow
Fixing as per PR comments.
fixing the behave test.
[SD-1209] state change triggers a new version

(cherry picked from commit abc9521b47f39baceea6a8be915d2a534660b35b)

Conflicts:
	apps/archive/archive_spike.py
[SD - 1215] Creating a new version after incrementing the version number
[SD-1216] Adding function to validate state transition.
[SD-1216] fixing flake errors.
Merge remote-tracking branch 'tolga/feat-workflow' into feat-workflow
[SD-1216] fixing as per PR comments.
Merge remote-tracking branch 'upstream/feat-workflow' into feat-workflow
Merge remote-tracking branch 'upstream/feat-workflow' into feat-workflow