Skip to main content

guillotina_dbusers

Store users/groups in the database for guillotina.

Installation

  • pip install guillotina_dbusers

  • add guillotina_dbusers to list of applications in your guillotina configuration

  • install into your container using the @addons endpoint using dbusers as id.

Available content types: - User - Group

Usage

After installation, you will now have a users and groups folder inside your container:

POST /db/container/users {
  "@type": "User",
  "username": "foobar",
  "email": "foo@bar.com",
  "password": "foobar"
}

You can now authenticate with the foobar user.

Login

Besides using default authentication mechanisms, this package also provides a @login so you can work with jwt tokens:

POST /db/container/@login {
  "username": "foobar",
  "password": "foobar"
}

And a @refresh_token endpoint:L

POST /db/container/@refresh_token

5.0.1 (2019-06-21)

  • Fix dbusers causing errors when authenticating against non-container context [vangheem]

5.0.0 (2019-06-21)

  • Guillotina > 5 only

  • Update API to be compat with plone api [jordic]

2.0.5 (2019-06-18)

  • bump

2.0.4 (2019-06-18)

  • restrict g version [vangheem]

2.0.3 (2019-04-26)

  • perms

2.0.2 (2018-09-25)

  • Remove login endpoint because guillotina already offers it [bloodbare]

2.0.1 (2018-07-19)

  • Support both username and login as parameter for the @login endpoint [ebrehault]

2.0.0 (2018-07-19)

  • Work with guillotina 4 [vangheem]

1.0.1 (2017-10-08)

  • Fix issues with user definition on latest guillotina [vangheem]

  • Automatically configure [vangheem]

1.0.0 (2017-04-11)

  • initial move to guillotina [vangheem]

Metadata

Release files for guillotina-dbusers 5.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for guillotina-dbusers 5.0.1
File Size Uploaded Provenance Actions
guillotina_dbusers-5.0.1.tar.gz 8.6 kB Without provenance Details for guillotina_dbusers-5.0.1.tar.gz

Release files / guillotina_dbusers-5.0.1.tar.gz

Download URL guillotina_dbusers-5.0.1.tar.gz
Size 8.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0747aeea69ae9b6e03735e00a64ad359276ae8207b5906aa045ef5e1d2eba719
BLAKE2b-256 checksum
How to use checksums
d3e035cc5854bd07b82aec1fd7f190b376b3a04f83133f108be3a8ee57fc85f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6

Security for guillotina-dbusers 5.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page