Using security in Ignition, first created security level in Gateway like attached image. Then created roles with same name as security level. Is this the way to create roles? Because Security roles only displaying in perspective screens. Attached screens for your reference.
Can you clarify what you mean by the security roles are only displaying in Perspective screens? Are you referring to the Permissions tab within the Project Properties?
We have a set of tutorials for creating and managing: users, roles, and security levels here. I believe these may be useful in clearing up any confusion.