xref: /dokuwiki/inc/Action/Denied.php (revision ab583a1bc44ef1ef3b917647fc361aabd055c2ac)
164ab5140SAndreas Gohr<?php
264ab5140SAndreas Gohr
364ab5140SAndreas Gohrnamespace dokuwiki\Action;
464ab5140SAndreas Gohr
5*ab583a1bSAndreas Gohr/**
6*ab583a1bSAndreas Gohr * Class Denied
7*ab583a1bSAndreas Gohr *
8*ab583a1bSAndreas Gohr * Show the access denied screen
9*ab583a1bSAndreas Gohr *
10*ab583a1bSAndreas Gohr * @package dokuwiki\Action
11*ab583a1bSAndreas Gohr */
1264ab5140SAndreas Gohrclass Denied extends AbstractAclAction {
1364ab5140SAndreas Gohr
1464ab5140SAndreas Gohr    /** @inheritdoc */
1564ab5140SAndreas Gohr    function minimumPermission() {
1664ab5140SAndreas Gohr        return AUTH_NONE;
1764ab5140SAndreas Gohr    }
1864ab5140SAndreas Gohr
1964ab5140SAndreas Gohr    public function tplContent() {
2064ab5140SAndreas Gohr        html_denied();
2164ab5140SAndreas Gohr    }
2264ab5140SAndreas Gohr
2364ab5140SAndreas Gohr}
24