[doc] fix errors in test_visibility_propagation example
* forget to use the access instructions
* wrong use of the function entity_from_eid
* some indentation problems
sync_schema_props_perms('state_of')
sync_schema_props_perms('transition_of')
sync_schema_props_perms('State')
sync_schema_props_perms('BaseTransition')
sync_schema_props_perms('Transition')
sync_schema_props_perms('WorkflowTransition')