Home
last modified time | relevance | path

Searched refs:perm (Results 1 – 25 of 66) sorted by last modified time

123

/plugin/dokusioc/
H A Daction.php54 … } elseif (($action->data === 'show' || $action->data === 'index') && $INFO['perm'] && !defined(
74 … print_r(array($action->data, $INFO['perm'], defined('DOKU_MEDIADETAIL'), $INFO['exists'],
97 if (!$INFO['perm']) {
/plugin/aichat/vendor/mehrab-wj/tiktoken-php/data/
H A Dvocab.bpe19057 Ġs perm
/plugin/bez/mdl/
H A DAcl.php23 public function grant($columns, $perm) { argument
31 if ($this->acl[$column] < $perm) {
32 $this->acl[$column] = $perm;
55 public function add_column($column, $perm=BEZ_PERMISSION_NONE) { argument
60 $this->acl[$column] = $perm;
/plugin/tag/
H A Dhelper.php268 $perm = auth_quickaclcheck($page);
272 if ($isDraft && $perm < AUTH_CREATE) continue;
315 'perm' => $perm,
/plugin/combo/ComboStrap/
H A DIdentity.php135 $perm = auth_quickaclcheck($wikiId);
137 $perm = auth_aclcheck($wikiId, '', null);
140 if ($perm >= AUTH_EDIT) {
194 $perm = self::getPermissions($wikiId);
196 if ($perm >= AUTH_READ) {
210 $perm = auth_quickaclcheck($wikiId);
212 $perm = auth_aclcheck($wikiId, '', null);
214 return $perm;
/plugin/upgrade/vendor/splitbrain/php-archive/src/
H A DTar.php524 * @param int $perm
530 protected function writeRawFileHeader($name, $uid, $gid, $perm, $size, $mtime, $typeflag = '') argument
555 $perm = sprintf("%6s ", decoct($perm));
559 $data_first = pack("a100a8a8a8a12A12", $name, $perm, $uid, $gid, $size, $mtime);
614 $return['perm'] = OctDec(trim($header['perm']));
653 $fileinfo->setMode($header['perm']);
/plugin/deeplautotranslate/
H A Daction.php272 $perm = auth_quickaclcheck($lang_id);
274 if (($exists and $perm < AUTH_EDIT) or (!$exists and $perm < AUTH_CREATE)) {
493 $perm = auth_quickaclcheck($ID);
494 if (($INFO['exists'] and $perm < AUTH_EDIT) or (!$INFO['exists'] and $perm < AUTH_CREATE)) return false;
530 $perm = auth_quickaclcheck($ID);
531 if ($perm < AUTH_EDIT) return false;
/plugin/blogtng/helper/
H A Dentry.php1204 $perm = auth_quickaclcheck($id);
1207 if (($perm >= AUTH_EDIT) && (is_writable(wikiFN($id)))) {
1212 } elseif ($perm >= AUTH_CREATE) {
/plugin/ifauthex/
H A Dsyntax.php33 private function pushInnerPermission($perm) { argument
34 array_push($this->_nestedRenderPermission, $perm && $this->innermostShouldRender());
/plugin/blog/
H A Dhelper.php68 $perm = auth_quickaclcheck($id);
69 if ($perm < AUTH_READ) continue; // check ACL
74 if ($draft && ($perm < AUTH_CREATE)) continue;
110 'perm' => $perm,
/plugin/elasticsearch/helper/
H A Dacl.php90 foreach ($rules as $key => $perm) {
92 $type = $perm ? 'groups_include' : 'groups_exclude';
94 $type = $perm ? 'users_include' : 'users_exclude';
113 foreach ($rule as $key => $perm) {
117 $localrules[$key] = $perm > AUTH_NONE;
118 } elseif ($key === '@ALL' && $perm > AUTH_NONE) {
/plugin/ckgedit/fckeditor/editor/filemanager/connectors/php/
H A Dcheck_acl.php75 $perm = -1;
99 if($acl[2] > $perm) {
100 $perm = $acl[2];
103 if($perm > -1) {
105 return (int) $perm;
129 if($acl[2] > $perm) {
130 $perm = $acl[2];
134 if($perm != -1) {
135 return (int) $perm;
/plugin/discussion/
H A Dhelper.php114 $perm = auth_quickaclcheck($id);
115 if ($perm < AUTH_READ) continue; // skip if no permission
137 'perm' => $perm,
/plugin/userhomepage/
H A Daction.php252 $perm = AUTH_DELETE;
253 … (!in_array("$where\t$who\t$perm\n", $existingLines)) { $newLines[] = array('where' => $where, 'wh…
259 … (!in_array("$where\t$who\t$perm\n", $existingLines)) { $newLines[] = array('where' => $where, 'wh…
266 … (!in_array("$where\t$who\t$perm\n", $existingLines)) { $newLines[] = array('where' => $where, 'wh…
274 $perm = AUTH_DELETE;
277 $perm = AUTH_EDIT;
280 … (!in_array("$where\t$who\t$perm\n", $existingLines)) { $newLines[] = array('where' => $where, 'wh…
333 … (!in_array("$where\t$who\t$perm\n", $existingLines)) { $newLines[] = array('where' => $where, 'wh…
337 … (!in_array("$where\t$who\t$perm\n", $existingLines)) { $newLines[] = array('where' => $where, 'wh…
344 … (!in_array("$where\t$who\t$perm\n", $existingLines)) { $newLines[] = array('where' => $where, 'wh…
[all …]
/plugin/davcal/
H A Dhelper.php109 $perm = auth_quickaclcheck($settings['permission']);
112 if($perm > AUTH_READ && $settings['write'] == 0)
113 $perm = AUTH_READ;
114 return $perm;
/plugin/include/
H A Daction.php275 $perm = auth_quickaclcheck($data['name']);
279 'writable' => (page_exists($data['name']) ? (is_writable($fn) && $perm >= AUTH_EDIT) : $perm >= AUTH_CREATE),
/plugin/bloglinks/
H A Daction.php105 $perm = auth_quickaclcheck($ID);
114 'perm' => $perm,
/plugin/preregister/
H A Dadmin.php110 $perm = substr(sprintf('%o', fileperms($this->metaFn )), -4);
111 if(preg_match('/\d\d(\d)/',$perm,$matches)) {
113 msg("Data file is currently accessible to all: $perm");
/plugin/diagramsnet/lib/resources/
H A Ddia_ca.txt274 …s per a descarregar, imprimir o copiar aquest fitxer pels que només tenen permís per visualitzar i…
295 fileNotFoundOrDenied=No s'ha trobat el fitxer. No existeix o no teniu permís.
/plugin/ajaxedit/
H A Daction.php27 $perm = auth_quickaclcheck($ID);
28 if ($perm > AUTH_READ)
/plugin/aclplusregex/
H A Daction.php110 [, $perm] = explode('x', $key); // the part after the x is our permission
111 return (int)$perm;
131 foreach ($config as [$id, $pattern, $perm]) {
132 $perm = (int)$perm;
136 $rules[$pattern] = max($rules[$pattern] ?? AUTH_NONE, $perm);
155 foreach ($rules as $rule => $perm) {
156 $reGroup[] = $this->patternToRegexGroup($rule, $perm);
216 * @param int $perm
219 protected function patternToRegexGroup($idpattern, $perm)
217 patternToRegexGroup($idpattern, $perm) global() argument
[all...]
/plugin/aclplusregex/_test/
H A DTestAction.php33 public function patternToRegexGroup($idpattern, $perm) argument
35 return parent::patternToRegexGroup($idpattern, $perm);
/plugin/elwikiupgrade/
H A DVerboseTarLib.class.php283 * @param int $perm
287 public function addData($name, $data, $uid = 0, $gid = 0, $perm = 0666, $mtime = 0) { argument
297 $perm,
441 * @param int $perm
446 protected function writeFileHeader($name, $uid, $gid, $perm, $size, $mtime, $typeflag = '') { argument
470 $perm = sprintf("%6s ", decoct($perm));
474 $data_first = pack("a100a8a8a8a12A12", $name, $perm, $uid, $gid, $size, $mtime);
/plugin/loglog/
H A Dstyle.css17 background: transparent url(pix/perm.png) left center no-repeat;
/plugin/task/
H A Dhelper.php140 'perm' => $perm,

123