Securing context-aware applications using environment roles | Synapse