Plone5 Workflow transitions not visible in left nav when guraded with role/permissions

We have setup custom workflow in plone 3 and now migrated from plone 3 to plone 5. In plone 5, transitions which have guarded role/permissions, are not visible in workflow-transition drop -down.
Below is the snippet of one of such transitions:


This will lock all content from being edited.

Schedule for Staging

Contributor

If I remove the guard-role from this transition, transition become visible in left nav workflow drop-down.

Anyone having any idea, please help.

My User has all the roles, but, getSecurityManager().getUser().getRolesInContext(self.context) or getSecurityManager().getUser().getRoles() returns only ['Manager', 'Authenticated'] roles.

How can I set the roles so that getSecurityManager().getUser().getRoles() returns more roles?