Lines Matching +full:count +full:- +full:users -(+path:inc +path:lang) -(+path:lib +path:plugins +path:lang) -(+path:lib +path:tpl +path:dokuwiki +path:lang)

8  * allows to authenticate users in a plugin
12 * @author Jan Schumann <js@jschumann-it.com>
24 'addUser' => false, // can Users be created?
25 'delUser' => false, // can Users be deleted?
31 'getUsers' => false, // can a (filtered) list of users be retrieved?
32 'getUserCount' => false, // can the number of users be retrieved?
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);
300 * Delete one or more users [implement only where required/possible]
305 * @param array $users
306 * @return int number of users deleted
308 public function deleteUsers($users)
310 msg("authorisation method does not allow deleting of users", -1);
315 * Return a count of the number of user which meet $filter criteria
326 msg("authorisation method does not provide user counts", -1);
337 * @param int $limit max number of users to be returned, 0 for unlimited
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);
437 * on currently logged in users.
450 * @param string $user - The username