def METHOD_NAME(self, user):
    for app_label, permissions in APP_PERMISSIONS.items():
        for perm in permissions:
            term = ".".join([app_label, perm])
            if user.has_perm(term):
                print("User has perm: '{}'".format(term))
            else:
                print("User doesn't have  perm: '{}'".format(term))
                permission = Permission.objects.get(codename=perm)
                user.user_permissions.add(permission)
                print("Added permission '{}'".format(permission))