DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:showlogin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
plugin:showlogin [2014-02-16 15:20] 93.231.176.198plugin:showlogin [2020-09-25 18:15] – lastupdate Aleksandr
Line 1: Line 1:
-====== showlogin plugin ======+====== showlogin Plugin ======
  
 ---- plugin ---- ---- plugin ----
-description: Show Login-form on "access deniedpages to not logged-in users+description: Show Login-form on access denied” pages to not logged-in users
 author     : Oliver Geisen author     : Oliver Geisen
 email      : oliver.geisen@kreisbote.de email      : oliver.geisen@kreisbote.de
 type       : action type       : action
-lastupdate : 2008-04-22 +lastupdate : 2012-11-01 
-compatible : 2009-02-14b, 2009-12-25, 2010-11-07, rincewind, angua, adora belle, 2013-06-03, weatherwax, 2014-02-16, blinky+compatible : 2009-02-14b, 2009-12-25, 2010-11-07, rincewind, angua, adora belle, 2013-06-03, weatherwax, 2014-02-16, binky
 depends    :  depends    : 
 conflicts  : showlogin2, ondeniedlogin conflicts  : showlogin2, ondeniedlogin
 similar    : showlogin2, ondeniedlogin similar    : showlogin2, ondeniedlogin
-tags       : users authentication+tags       : users authentication denied 
 downloadurl: https://github.com/igittigitt/dokuwiki-plugin-showlogin/tarball/master downloadurl: https://github.com/igittigitt/dokuwiki-plugin-showlogin/tarball/master
 bugtracker : https://github.com/igittigitt/dokuwiki-plugin-showlogin/issues bugtracker : https://github.com/igittigitt/dokuwiki-plugin-showlogin/issues
 sourcerepo : https://github.com/igittigitt/dokuwiki-plugin-showlogin sourcerepo : https://github.com/igittigitt/dokuwiki-plugin-showlogin
 ---- ----
 +
 +**Functionality now included in DokuWiki:** DokuWiki now includes the login form in the denied page, when useful. So this plugin becomes superfluous.
  
 ===== What it does ===== ===== What it does =====
Line 73: Line 76:
  
 Now, if such a restricted page in an public wiki is requested, e.g. by clicking a link, in current DWs the user is presented with an "Access Denied" page. The approach of this plugin is to redirect/show the user a login form to gain access to the requested page. This behaveour is currently not implemented in Dokuwiki an so must be achieved with an plugin. Now, if such a restricted page in an public wiki is requested, e.g. by clicking a link, in current DWs the user is presented with an "Access Denied" page. The approach of this plugin is to redirect/show the user a login form to gain access to the requested page. This behaveour is currently not implemented in Dokuwiki an so must be achieved with an plugin.
 +>Presenting a login to users who are already logged in makes no sense.  It would be a simple thing to check for this.
  
 === Show access denied, login form, or not, and when === === Show access denied, login form, or not, and when ===
Line 81: Line 85:
 Maybe the plugin should have translatable text for both specialy handled situations. login_required (to view the content) and denied_access (while beeing logged in).   --- [[user>sf|sf]] //2011/07/19 15:29// Maybe the plugin should have translatable text for both specialy handled situations. login_required (to view the content) and denied_access (while beeing logged in).   --- [[user>sf|sf]] //2011/07/19 15:29//
  
 +
 +hummm....but imagine that the owner of a page could put a password in that page . So a  group could have login e password to access  that page , different of their personal login . For example if in a group of pages, the owner creates  a personal photo album and the photos will be seen just by some friends . So should have  a login to see that ...  
 +I mean , imagine that a group ask to superuser to give access to  john p. login ..xxxxyyyy . So just this user can see the page . so this generic login and password could be distributed to a small group . And loging in this way they could see  that photos..
 === Whished features === === Whished features ===
  
   * Redir/include an external login-form from another URL (maybe Company-site)   * Redir/include an external login-form from another URL (maybe Company-site)
plugin/showlogin.txt · Last modified: 2023-10-30 23:27 by Klap-in

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki