def _allows_edit_keywords(self, user):
        # If the document is in the default locale, just use the
        # django permission.
        # Editing keywords isn't restricted in other locales.
        return (self.locale != settings.WIKI_DEFAULT_LANGUAGE or
                user.has_perm('wiki.edit_keywords'))
Can the user edit the document's keywords?
dataset/ETHPy150Open mozilla/kitsune/kitsune/wiki/permissions.py/DocumentPermissionMixin._allows_edit_keywords