Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Wiki Replica
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
TPA
Wiki Replica
Commits
61be77ba
Verified
Commit
61be77ba
authored
1 month ago
by
lelutin
Browse files
Options
Downloads
Patches
Plain Diff
Document how to bootstrap admin access to civicrm
It took me a while to reach that today.
parent
78d0f520
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#244861
passed with warnings
1 month ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
service/crm.md
+20
-0
20 additions, 0 deletions
service/crm.md
with
20 additions
and
0 deletions
service/crm.md
+
20
−
0
View file @
61be77ba
...
...
@@ -140,6 +140,26 @@ accessible only by TPA. To add a user, on the backend server
htdigest /etc/apache2/htdigest 'Tor CRM' $USERNAME
## Granting a new admin access
When onboarding a new TPA member, the new member can create their own admin user
as soon as they have root access to the server. To achieve this they can use the
following commands:
sudo -i -u torcivicrm
cd /srv/crm.torproject.org/htdocs-prod && drush uli toradmin
Once logged in a personal account should be created with administrator
privileges to facilitate future logins.
Notes:
*
The URL produced by drush needs to be manually modified for it to lead to the
right place.
`https`
should be used indead of
`http`
, and the hostname needs
to be changed from
`default`
to
`crm.torproject.org`
*
`drush uli`
without a user will produce URLs that give out an Access Denied
error since the user with uid 1 is disabled.
## Rotating API tokens
See the
[
donate site docs for this
](
service/donate#rotating-api-tokens
)
.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment