#NEWLINE# def _allows_edit_keywords( self , user ) : #NEWLINE# #INDENT# "Can the user edit the document's keywords?" #NEWLINE# return ( ( self . locale != settings . WIKI_DEFAULT_LANGUAGE ) or user . has_perm ( 'wiki.edit_keywords' ) )