From 59a858ea977329ee4547e6583461a620e4f4e179 Mon Sep 17 00:00:00 2001 From: Rich Lott / Artful Robot Date: Fri, 23 Jun 2023 12:53:18 +0100 Subject: [PATCH] update readme --- ext/standaloneusers/README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/ext/standaloneusers/README.md b/ext/standaloneusers/README.md index c66b127d20..36d1a9bd17 100644 --- a/ext/standaloneusers/README.md +++ b/ext/standaloneusers/README.md @@ -1,4 +1,4 @@ -# Users, Roles, Permissions for Standalone CiviCRM +# Users, Roles, Permissions for Standalone CiviCRM **⚠️ Do not use this extension if you have CiviCRM installed the normal way (e.g. on Drupal, WordPress, Joomla, Backdrop...)!** @@ -13,7 +13,6 @@ The extension is licensed under [AGPL-3.0](LICENSE.txt). * PHP v7.4+ * CiviCRM (standalone) - ## Getting started First, get standalone set up - e.g. you can see the admin interface up and running. @@ -22,7 +21,13 @@ Next configure AuthX from **Administer » System Settings » Authentication**. Y Now you can install this extension from the command line. (Clone this repo into web/upload/ext/ then enable it with `cv en standaloneusers`). -On install, an account is created, user `admin`, and the password is printed on the console. The admin user is granted all permissions. +On install, an account is created, user `admin`, and the password is printed on the console. The admin user is granted all permissions. Example: + +``` +% cv en standaloneusers +Enabling extension "standaloneusers" +Created New admin User 1 and contact 203 with password iLkPsffZYYA= and ALL permissions. +``` Now if you try to load your site it should fail: you've got no access rights. @@ -31,7 +36,6 @@ At this stage, because you're moving from a system that had no concept of users Done that? Then head to `/civicrm/login`, enter your credentials and hopefully you're now back in the admin interface! - ## Conventions From the `Civi\Auth\Standalone` class, the User.id is stored in the global `$loggedInUserId` and when there's a session, under the key `ufId`. -- 2.25.1