• R/O
  • HTTP
  • SSH
  • HTTPS

pukiwiki: Commit


Commit MetaInfo

Revision75b6a52daafbfd26df5d899c9ea9a4b8e92f7e47 (tree)
Time2016-02-02 01:03:16
Authorumorigu <umorigu@gmai...>
Commiterumorigu

Log Message

BugTrack2/374 Add auth provider user prefix

* AUTH_PROVIDER_USER_PREFIX_DEFAULT(default:)

  • for users defined in pukiwiki.ini.php

* AUTH_PROVIDER_USER_PREFIX_LDAP(ldap:)

  • for users from LDAP

* AUTH_PROVIDER_USER_PREFIX_EXTERNAL(external:)

  • for users provided by external auth systems

Change Summary

Incremental Difference

--- a/pukiwiki.ini.php
+++ b/pukiwiki.ini.php
@@ -282,6 +282,12 @@ $ldap_user_account = 0;
282282 // $ldap_bind_password = '';
283283
284284 /////////////////////////////////////////////////
285+// User prefix that shows its auth provider
286+define('AUTH_PROVIDER_USER_PREFIX_DEFAULT', 'default:');
287+define('AUTH_PROVIDER_USER_PREFIX_LDAP', 'ldap:');
288+define('AUTH_PROVIDER_USER_PREFIX_EXTERNAL', 'external:');
289+
290+/////////////////////////////////////////////////
285291 // $whatsnew: Max number of RecentChanges
286292 $maxshow = 60;
287293
Show on old repository browser