Lines Matching +full:fail +full:- +full:fast
12 * @author Jan Schumann <js@jschumann-it.com>
42 * able to operate. Set capabilities in $this->cando
48 * Set $this->success to false if checks fail
68 return array_keys($this->cando);
74 * Checks the capabilities set in the $this->cando array and
90 return ($this->cando['modPass'] ||
91 $this->cando['modName'] ||
92 $this->cando['modMail']);
95 return ($this->cando['modPass'] ||
96 $this->cando['modName'] ||
97 $this->cando['modMail'] ||
98 $this->cando['modLogin'] ||
99 $this->cando['modGroups'] ||
100 $this->cando['modMail']);
103 if (!isset($this->cando[$cap])) {
104 msg("Check for unknown capability '$cap' - Do you use an outdated Plugin?", -1);
106 return $this->cando[$cap];
117 * @author Gabriel Birke <birke@d-scribe.de>
137 if ($evt->advise_before(true)) {
138 $result = call_user_func_array([$this, $validTypes[$type]], $evt->data['params']);
139 $evt->data['modification_result'] = $result;
141 $evt->advise_after();
162 * Set $this->cando['external'] = true when implemented
165 * authenticate a user - all other DokuWiki internals
233 msg("no valid authorisation system in use", -1);
254 if (!$this->cando['external']) msg("no valid authorisation system in use", -1);
279 msg("authorisation method does not allow creation of new users", -1);
295 msg("authorisation method does not allow modifying of user data", -1);
310 msg("authorisation method does not allow deleting of users", -1);
326 msg("authorisation method does not provide user counts", -1);
343 msg("authorisation method does not support mass retrieval of user data", -1);
358 msg("authorisation method does not support independent group creation", -1);
374 msg("authorisation method does not support group list retrieval", -1);
446 * Fast backends might want to return always false, to force rechecks on
450 * @param string $user - The username