aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/www/include/share/session/attrs.php
diff options
context:
space:
mode:
authorM.Gergo2018-07-06 11:14:41 +0200
committerM.Gergo2018-07-06 11:14:41 +0200
commit43de9af71f7f4ca5731b94a06d688ae8412ba427 (patch)
tree54835de1dfcda504c02da261f0dc26885aed2e89 /mayor-orig/www/include/share/session/attrs.php
parent50310b0e4513ee3fcce67351ae61e8fff851130e (diff)
downloadmayor-43de9af71f7f4ca5731b94a06d688ae8412ba427.tar.gz
mayor-43de9af71f7f4ca5731b94a06d688ae8412ba427.zip
2018/Feb/28 -i állapot hozzáadva, mint a módosítások kiindulási állapota
Diffstat (limited to 'mayor-orig/www/include/share/session/attrs.php')
-rw-r--r--mayor-orig/www/include/share/session/attrs.php63
1 files changed, 63 insertions, 0 deletions
diff --git a/mayor-orig/www/include/share/session/attrs.php b/mayor-orig/www/include/share/session/attrs.php
new file mode 100644
index 00000000..c7ebafb7
--- /dev/null
+++ b/mayor-orig/www/include/share/session/attrs.php
@@ -0,0 +1,63 @@
+<?php
+/*
+ Module: useradmin
+
+ Minden auth-típus esetén lekérdezhető kell legyen az alábbi néhány attribútum.
+ Az egyes backend-ek esetén ezek kiegészülhetnek további attribútumokkal.
+
+ Az attribútumokhoz tartozik egy adott nyelvű elnevezés (desc) és egy típus (type),
+ ami alapján megjelenítjük, beolvassuk, módosítjuk, stb...
+
+ Esetleg ez a tömb használható arra is, hogy az egyes attribútumok hozzáférési jogosultságait
+ később megadjuk... (lásd LDAP backend)
+
+*/
+
+// global $attrDescription, $attrView, $unicodeAttrs, $timestampAttrs, $memberTypes;
+
+ $accountAttrs = array(
+// -- kötelező --
+ 'userAccount',
+ 'userCn',
+ 'userPassword',
+// -- lekérdezhető, opcionális --
+ 'uidNumber',
+ 'mail',
+ 'telephoneNumber',
+ 'studyId',
+ 'shadowLastChange',
+ 'shadowMin',
+ 'shadowMax',
+ 'shadowWarning',
+ 'shadowInactive',
+ 'shadowExpire'
+ );
+
+ $groupAttrs = array(
+ 'groupCn',
+ 'groupDesc',
+ 'member',
+ );
+
+ $attrDef = array(
+ 'userAccount' => array('desc' => _ATTR_USERACCOUNT, 'type' => 'text'),
+ 'userCn' => array('desc' => _ATTR_USERCN, 'type' => 'text'),
+ 'userPassword' => array('desc' => _ATTR_USERPASSWORD, 'type' => 'text'),
+ 'uidNumber' => array('desc' => _ATTR_UIDNUMBER, 'type' => 'text'),
+ 'mail' => array('desc' => _ATTR_MAIL, 'type' => 'text'),
+ 'telephoneNumber' => array('desc' => _ATTR_TELEPHONENUMBER, 'type' => 'text'),
+ 'studyId' => array('desc' => _ATTR_STUDYID, 'type' => 'text'),
+ 'shadowLastChange' => array('desc' => _ATTR_SHADOWLASTCHANGE, 'type' => 'text'),
+ 'shadowMin' => array('desc' => _ATTR_SHADOWMIN, 'type' => 'text'),
+ 'shadowMax' => array('desc' => _ATTR_SHADOWMAX, 'type' => 'text'),
+ 'shadowWarning' => array('desc' => _ATTR_SHADOWWARNING, 'type' => 'text'),
+ 'shadowInactive' => array('desc' => _ATTR_SHADOWINACTIVE, 'type' => 'text'),
+ 'shadowExpire' => array('desc' => _ATTR_SHADOWEXPIRE, 'type' => 'text'),
+ 'groupCn' => array('desc' => _ATTR_GROUPCN, 'type' => 'text'),
+ 'groupDesc' => array('desc' => _ATTR_GROUPDESC, 'type' => 'text'),
+ 'member' => array('desc' => _ATTR_MEMBER, 'type' => 'select'),
+ );
+
+
+
+?>