def _allows_archive(self, user):
        # Just use the django permission.
        return user.has_perm('wiki.archive_document')
Method for starting reload process on current instance.
dataset/ETHPy150Open mozilla/kitsune/kitsune/wiki/permissions.py/DocumentPermissionMixin._allows_archive--crossover with--dataset/ETHPy150Open openstack/horizon/horizon/test/webdriver.py/WebElementWrapper._reload_element