6: Implement configurable role mapping and hierarchy

Task-Url: #6
1 job for v2.0-dev in 1 minute and 52 seconds (queued for 1 second)