Lines Matching +full:- +full:- +full:name +full:- +full:only

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];
115 * example for enforcing a user name schema.
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();
150 * only be needed when trustExternal is implemented.
162 * Set $this->cando['external'] = true when implemented
165 * authenticate a user - all other DokuWiki internals
206 $USERINFO['name'] = 'FIXME';
227 * @param string $user the user name
233 msg("no valid authorisation system in use", -1);
243 * name string full name of the user
248 * @param string $user the user name
254 if (!$this->cando['external']) msg("no valid authorisation system in use", -1);
259 * Create a new User [implement only where required/possible]
272 * @param string $name
277 public function createUser($user, $pass, $name, $mail, $grps = null) argument
279 msg("authorisation method does not allow creation of new users", -1);
284 * Modify user data [implement only where required/possible]
295 msg("authorisation method does not allow modifying of user data", -1);
300 * Delete one or more users [implement only where required/possible]
310 msg("authorisation method does not allow deleting of users", -1);
326 msg("authorisation method does not provide user counts", -1);
331 * Bulk retrieval of user data [implement only where required/possible]
343 msg("authorisation method does not support mass retrieval of user data", -1);
348 * Define a group [implement only where required/possible]
358 msg("authorisation method does not support independent group creation", -1);
363 * Retrieve groups [implement only where required/possible]
374 msg("authorisation method does not support group list retrieval", -1);
394 * This function is applied to any user name that is given to
395 * the backend and should also be applied to any user name within
430 * Check Session Cache validity [implement only where required/possible]
450 * @param string $user - The username