@johnmartin 

we should just make ROLE_PERMISSIONS an ordered dict then this would fix the problem you have without duplication and the potential for errors to creep - let me know and I'll make the change if you want