BS-9236 : change condition to elgibile user to perform task and add unit test
Merge branch '6.3.x' of github.com:bonitasoft/bonita-engine into 6.3.x