Some code cleanup and edit task access privileges fix.
Merge branch 'master' of https://github.com/sisu/cses-green