code: def get_permissions(parser, token):
      
      return PermissionsForObjectNode.handle_token(parser, token, approved=True,
                                                   name='"permissions"')
docs: Retrieves all permissions associated with the given obj and user
      and assigns the result to a context variable.
  
      Syntax::
  
          {% get_permissions obj %}
          {% for perm in permissions %}
              {{ perm }}
          {% endfor %}
  
          {% get_permissions obj as "my_permissions" %}
          {% get_permissions obj for request.user as "my_permissions" %}