'Returns choices for object permissions management field. Default:
list of tuples ``(codename, name)`` for each ``Permission`` instance
for the managed object.'

def get_obj_perms_field_choices(self):

    choices = [(p.codename, p.name) for p in get_perms_for_model(self.obj)]
    return choices
