Webhook endpoint to sync categories from the phonebook
Project description
Indico Phonebook Plugin
This Indico plugin automatically syncs categories, user access rights, and local groups with an external Phonebook service, such as ePIC, STAR, or sPHENIX collaboration directories.
Features
- Health check endpoint (
/phonebook/ping) - Manual sync per experiment (
/phonebook/<experiment>/sync) - JSON-configurable experiment settings
- Two sync strategies: by email or ORCID
- Synchronizes:
- Category membership (with access control)
- Local Indico groups:
- All members group
- Managers group
- Subcategories based on Phonebook groups
Configuration
Update the plugin’s settings via Indico’s admin panel using a JSON configuration:
{
"epic": {
"url": "https://phonebook.sdcc.bnl.gov/ePIC/",
"parent_category_title": "ePIC",
"member_group": "epic-members",
"manager_group": "epic-managers",
"sync_strategy": "orcid"
}
}
Explanation:
- member_group: name of a LocalGroup to sync with all Phonebook members
- manager_group: name of a LocalGroup to sync with members with manager roles
- sync_strategy: either "email" or "orcid"
Installation
Clone this repository into your Indico plugins directory:
cd ~/indico/plugins
git clone https://git.racf.bnl.gov/gitea/CDS/indico-plugin-phonebook.git
cd indico-plugin-phonebook
git checkout tags/v1.0.0 -b v1.0.0 # to get a specific tag version
pip install -e .
Add in indico.conf:
PLUGINS = {'phonebook'}
Restart indico.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file indico_plugin_phonebook-1.0.1.tar.gz.
File metadata
- Download URL: indico_plugin_phonebook-1.0.1.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61fa62acf3b0b3d2d0238e4ef6c71bfc2d916223cd0ac42fe4119120deef9b8c
|
|
| MD5 |
615443192020259029b6139736c4ff49
|
|
| BLAKE2b-256 |
1dd678a6914a7c1ddfef7edb43d35db4e7581cc4677221a488131adceabc5b4e
|
File details
Details for the file indico_plugin_phonebook-1.0.1-py3-none-any.whl.
File metadata
- Download URL: indico_plugin_phonebook-1.0.1-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3e89aeb244580d4f0748af5099e03d61ad769c03e40847d640e89f43adcb8e7
|
|
| MD5 |
9d5f52dcbb3236b92dc7beb3f077f7d5
|
|
| BLAKE2b-256 |
5369135afb91637f41599453a378350d4e4118eed980c23e24269962989f06b2
|