parameters: (self, msg_vals=None)
return_statement: return groups
docstring: Add access button to everyone if the document is published.
docstring_summary: Add access button to everyone if the document is published.
docstring_tokens: Add access button to everyone if the document is published .
function: def _notify_get_groups(self, msg_vals=None):
          """ Add access button to everyone if the document is published. """
          groups = super(BlogPost, self)._notify_get_groups(msg_vals=msg_vals)
  
          if self.website_published:
              for group_name, group_method, group_data in groups:
                  group_data['has_button_access'] = True
  
          return groups
function_tokens: def _notify_get_groups ( self , msg_vals = None ) : groups = super ( BlogPost , self ) . _notify_get_groups ( msg_vals = msg_vals ) if self . website_published : for group_name , group_method , group_data in groups : group_data [ 'has_button_access' ] = True return groups