Skip to main content

A PAS plugin to set roles to imio keycloak users

Project description

pas.plugins.kimug

A PAS plugin to set roles to imio keycloak users

Kimug is a acronym for "Keycloak IMio User & Group"

Installation

Install pas.plugins.kimug:

make build

Create the Plone site:

make create-site

Test environment

export imio realm

cd tests && docker compose exec keycloak /opt/keycloak/bin/kc.sh export --file /opt/keycloak/data/import/realm-imio.json --realm imio

docker compose exec keycloak /opt/keycloak/bin/kc.sh export --file /opt/keycloak/data/import/realm-plone.json --realm plone

Tests credentials

Run test

.venv/bin/tox -e test -s

or only one class

.venv/bin/pytest tests -s -k TestMigration

Contribute

License

The project is licensed under GPLv2.

Contributors

1.1.4 (2025-08-28)

  • You should rerun migration as many times as you want. [bsuttor]

1.1.3 (2025-08-28)

  • Check if realm exists and environment variables are set before migration [remdub]

1.1.2 (2025-08-27)

  • Add fogrot local roles on migration to Keycloak. [bsuttor & rdubois]

1.1.1 (2025-08-26)

  • Migrate users form Authentic to Keycloal OIDC plugin. [bsuttor]

1.1.0 (2025-07-10)

  • Migrate authentic to keycloak

1.0.0 (2025-03-31)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pas_plugins_kimug-1.1.4.tar.gz (66.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pas_plugins_kimug-1.1.4-py3-none-any.whl (32.2 kB view details)

Uploaded Python 3

File details

Details for the file pas_plugins_kimug-1.1.4.tar.gz.

File metadata

  • Download URL: pas_plugins_kimug-1.1.4.tar.gz
  • Upload date:
  • Size: 66.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for pas_plugins_kimug-1.1.4.tar.gz
Algorithm Hash digest
SHA256 3e9836be4391fd1e391a23b0c74bb7687d78f486076671678da9530d137d51c8
MD5 2cc3b8458066b5e0747776aec4b13598
BLAKE2b-256 2d742d1ece15ac55cf759a8d9d2ec0d282e94207ce7532f830176a706e65e5ab

See more details on using hashes here.

File details

Details for the file pas_plugins_kimug-1.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for pas_plugins_kimug-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 36e30a68628e07ecb44e9b28b3675e5a0d5cad0925c71f4ac8d74122611e1a0b
MD5 111d361645c55894a81833e0e0d8a337
BLAKE2b-256 8727bb93c2540afd4a1c7354703a832c31b5c5935189ba909f536b33226a659e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page