parameters: (self, obj=None)
return_statement: return permissions
docstring: Returns a list of permission strings that this user has through his/her
          groups. This method queries all available auth backends. If an object
          is passed in, only permissions matching this object are returned.
docstring_summary: Returns a list of permission strings that this user has through his/her
          groups. This method queries all available auth backends. If an object
          is passed in, only permissions matching this object are returned.
docstring_tokens: Returns a list of permission strings that this user has through his / her groups . This method queries all available auth backends . If an object is passed in only permissions matching this object are returned .
function: def get_group_permissions(self, obj=None):
          """
          Returns a list of permission strings that this user has through his/her
          groups. This method queries all available auth backends. If an object
          is passed in, only permissions matching this object are returned.
          """
          permissions = set()
          for backend in auth.get_backends():
              if hasattr(backend, "get_group_permissions"):
                  permissions.update(backend.get_group_permissions(self, obj))
          return permissions
function_tokens: def get_group_permissions ( self , obj = None ) : permissions = set ( ) for backend in auth . get_backends ( ) : if hasattr ( backend , "get_group_permissions" ) : permissions . update ( backend . get_group_permissions ( self , obj ) ) return permissions