2019-04-09 22:26:40 +02:00
<!DOCTYPE html>
< html lang = "en" dir = "ltr" >
< head >
< meta charset = "utf-8" / >
< title > documentation:2.0:checkuser< / title >
< meta name = "generator" content = "DokuWiki" / >
2019-09-23 22:41:16 +02:00
< meta name = "robots" content = "noindex,nofollow" / >
2019-04-09 22:26:40 +02:00
< meta name = "keywords" content = "documentation,2.0,checkuser" / >
< link rel = "search" type = "application/opensearchdescription+xml" href = "lib/exe/opensearch.html" title = "LemonLDAP::NG" / >
< link rel = "start" href = "checkuser.html" / >
< link rel = "contents" href = "checkuser.html" title = "Sitemap" / >
< link rel = "stylesheet" type = "text/css" href = "lib/exe/css.php.t.bootstrap3.css" / >
<!-- //if:usedebianlibs
< link rel = "stylesheet" type = "text/css" href = "/javascript/bootstrap/css/bootstrap.min.css" / >
//elsif:useexternallibs
< link rel = "stylesheet" type = "text/css" href = "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" > < / script >
//elsif:cssminified
< link rel = "stylesheet" type = "text/css" href = "/static/bwr/bootstrap/dist/css/bootstrap.min.css" / >
//else -->
< link rel = "stylesheet" type = "text/css" href = "/static/bwr/bootstrap/dist/css/bootstrap.css" / >
<!-- //endif -->
< script type = "text/javascript" > / * < ! [ C D A T A [ * / v a r N S = ' d o c u m e n t a t i o n : 2 . 0 ' ; v a r J S I N F O = { " i d " : " d o c u m e n t a t i o n : 2 . 0 : c h e c k u s e r " , " n a m e s p a c e " : " d o c u m e n t a t i o n : 2 . 0 " } ;
/*!]]>*/< / script >
< script type = "text/javascript" charset = "utf-8" src = "lib/exe/js.php.t.bootstrap3.js" > < / script >
<!-- //if:usedebianlibs
< script type = "text/javascript" src = "/javascript/jquery/jquery.min.js" > < / script >
//elsif:useexternallibs
< script type = "text/javascript" src = "http://code.jquery.com/jquery-2.2.0.min.js" > < / script >
//elsif:jsminified
< script type = "text/javascript" src = "/static/bwr/jquery/dist/jquery.min.js" > < / script >
//else -->
< script type = "text/javascript" src = "/static/bwr/jquery/dist/jquery.js" > < / script >
<!-- //endif -->
<!-- //if:usedebianlibs
< script type = "text/javascript" src = "/javascript/jquery-ui/jquery-ui.min.js" > < / script >
//elsif:useexternallibs
< script type = "text/javascript" src = "http://code.jquery.com/ui/1.10.4/jquery-ui.min.js" > < / script >
//elsif:jsminified
< script type = "text/javascript" src = "/static/bwr/jquery-ui/jquery-ui.min.js" > < / script >
//else -->
< script type = "text/javascript" src = "/static/bwr/jquery-ui/jquery-ui.js" > < / script >
<!-- //endif -->
< / head >
< body >
< div class = "dokuwiki export container" >
< h1 class = "sectionedit1" id = "check_user_plugin" > Check user plugin< / h1 >
< div class = "level1" >
< p >
This plugin allows us to check session attributes, access rights and transmitted headers for a specific user and < abbr title = "Uniform Resource Locator" > URL< / abbr > . This can be useful for IT Ops, dev teams or administrators to debug or check rules. Plugin DISABLED by default.
< / p >
< / div >
<!-- EDIT1 SECTION "Check user plugin" [1 - 264] -->
< h2 class = "sectionedit2" id = "configuration" > Configuration< / h2 >
< div class = "level2" >
< p >
Just enable it in the manager (section “plugins”).
< / p >
< ul >
< li class = "level1" > < div class = "li" > < strong > Parameters< / strong > :< / div >
< ul >
< li class = "level2" > < div class = "li" > < strong > Activation< / strong > : Enable / Disable this plugin< / div >
< / li >
2019-09-23 22:41:16 +02:00
< li class = "level2" > < div class = "li" > < strong > Identities use rule< / strong > : Rule to define which profiles can be displayed (by example: < code > !$anonymous< / code > )< / div >
< / li >
2019-04-09 22:26:40 +02:00
< li class = "level2" > < div class = "li" > < strong > Hidden attributes< / strong > : Attributes not displayed< / div >
< / li >
2019-09-23 22:41:16 +02:00
< li class = "level2" > < div class = "li" > < strong > Attributes used for searching sessions< / strong > : User' s attributes used for searching sessions in Data Base. Let it blank to search by < code > whatToTrace< / code > < / div >
< / li >
2019-04-09 22:26:40 +02:00
< li class = "level2" > < div class = "li" > < strong > Display persistent session< / strong > : Display persistent session attributes< / div >
< / li >
< li class = "level2" > < div class = "li" > < strong > Display empty value< / strong > : Display ALL attributes even empty ones< / div >
< / li >
< / ul >
< / li >
< / ul >
< div class = "noteimportant" > Be careful to not display secret attributes.
< p >
checkUser plugin hidden attributes are concatenation of
< / p >
< p >
< code > checkUserHiddenAttributes< / code > and < code > hiddenAttributes< / code > .
< / p >
< p >
You just have to append checkUser specific attributes.
< / p >
< / div > < div class = "notewarning" > This plugin displays ALL user session attributes except the hidden ones.
< p >
You have to restrict access to specific users (administrators, DevOps, power users and so on...)
< / p >
< p >
by setting an access rule like other VirtualHosts.
< / p >
< p >
By example: < code > $groups =~ /\bsu\b/< / code >
< / p >
< / div >
< / div >
2019-09-23 22:41:16 +02:00
<!-- EDIT2 SECTION "Configuration" [265 - 1407] -->
2019-04-09 22:26:40 +02:00
< h2 class = "sectionedit3" id = "usage" > Usage< / h2 >
< div class = "level2" >
< p >
When enabled, < code > /checkuser< / code > < abbr title = "Uniform Resource Locator" > URL< / abbr > path is handled by this plugin.
< / p >
< / div >
2019-09-23 22:41:16 +02:00
<!-- EDIT3 SECTION "Usage" [1408 - ] --> < / div >
2019-04-09 22:26:40 +02:00
< / body >
< / html >