def METHOD_NAME(self):
    create_admin_access_permissions()
    self.no_permission = User.objects.create_user(
        username="noperm", email="", password="password"
    )
    self.cdn_manager = User.objects.create_user(
        username="cdn", email="", password="password"
    )
    # Give CDN Manager permission to add history items
    cdn_permission = Permission.objects.get(name="Can add cdn history")
    self.cdn_manager.user_permissions.add(cdn_permission)
    # Add no_permission and cdn_manager to Editors group
    editors = Group.objects.get(name="Editors")
    self.no_permission.groups.add(editors)
    self.cdn_manager.groups.add(editors)