As I found that Mendix does not provide dynamic role access at runtime i.e you can not create new user role or update the access rule of existing user role.
As this feature is very demanding. Please look into this matter
Upvoted. Allow the model api to add/edit roles. It will open up the approach of managing roles centrally in enterprises without having to change app often.