Framework for simple role-based security model implementation