Changeset:
072fc74ae084
https://sourceforge.net/p/mrbs/hg-code/ci/072fc74ae0840bfac98b4889e4c683b2afae4016
Author:
Campbell Morrison <[email protected]>
Date:
Fri Oct 28 11:29:39 2016 +0100
Log message:
Updated for joomla authentication scheme
diffstat:
AUTHENTICATION | 33 ++++++++++++++++++++++++++++++++-
1 files changed, 32 insertions(+), 1 deletions(-)
diffs (62 lines):
diff -r 93e7c9b92280 -r 072fc74ae084 AUTHENTICATION
--- a/AUTHENTICATION Fri Oct 28 11:14:23 2016 +0100
+++ b/AUTHENTICATION Fri Oct 28 11:29:39 2016 +0100
@@ -162,12 +162,17 @@
| | | | under Unix.
|
| | | |
|
+---------+------------------------+-------------------+------------------------+
+|joomla |Users are validated | |
|
+| |against a Joomla! | |
|
+| |installation running on | |
|
+| |the same server | |
|
+| | | |
|
++---------+------------------------+-------------------+------------------------+
|wordpress|Users are validated | |
|
| |against a WordPress | |
|
| |installation running on | |
|
| |the same server | |
|
| | | |
|
-| | | |
|
+---------+------------------------+-------------------+------------------------+
External authentication programs
@@ -340,6 +345,10 @@
| |"config". | | computer.
|
| | | |
|
+---------+------------------------------+--------------------+----------------+
+|joomla |Use when using Joomla! | |
|
+| |authentication. | |
|
+| | | |
|
++---------+------------------------------+--------------------+----------------+
|wordpress|Use when using WordPress | |
|
| |authentication. | |
|
| | | |
|
@@ -840,6 +849,28 @@
$auth['remote_user']['logout_link'] = '/logout/link.html'
+Joomla! Authentication
+----------------------
+
+Set in config.inc.php
+
+$auth['joomla']['rel_path'] = '..'; // Path to the Joomla! installation
relative to MRBS.
+
+// [Note that although in Joomla! access levels are solely used for what users
are allowed to *see*, we use
+// them in MRBS to determine what they can see and do, ie we map them onto
MRBS user levels. While this
+// does not strictly follow the Joomla! access control model, it does make it
much simpler to give users
+// MRBS permissions.]
+
+// List of Joomla! viewing access level ids that have MRBS Admin capabilities.
You can if you wish use
+// the existing viewing access levels. However we recommend creating a new
access level, eg
+// "MRBS Administrator" and assigning that to user groups, as it will then be
clearer which groups
+// have what kind of access to MRBS.
+$auth['joomla']['admin_access_levels'] = array(); // Can either be a single
integer, or an array of integers.
+// As above, but for ordinary user rights. Create for example a viewing
access level called "MRBS User"
+// and assign that level to user groups as appropriate.
+$auth['joomla']['user_access_levels'] = array(); // Can either be a single
integer, or an array of integers.
+
+
WordPress Authentication
------------------------
------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive.
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits