Managing users groups and their role mapping