Skip to main content

A user authentication and authorization component for the BlazeWeb framework

Project description



AuthBWC is a component for BlazeWeb applications. It provides users, groups, permissions, related helpers and views. Proper integration of this component will allow applications to have views that can only be accessed by certain users.

Includes email notifications when an account is created as well as an email based password reset mechanism.

Questions & Comments

Please visit:

Current Status

The code stays pretty stable, but the API may change in the future.

The AuthBWC tip is installable via easy_install with easy_install AuthBWC==dev

Change Log

0.3.3 released 2020-11-18

  • support werkzeug 1.0.0+

0.3.2 released 2017-12-01

  • add check constraint names to aid with setting naming convention for SQLAlchemy

0.3.1 released 2017-07-21

  • fixed vulnerability in password reset process that allowed users to log in when inactive

0.3.0 released 2016-11-29

  • add support for Python 3 (3.4 and 3.5)

  • set up continuous integration testing on CircleCI and AppVeyor

  • test coverage is on CodeCov

  • remove BaseBWA dependency

0.2.5 released 2016-06-17

  • preserve user permissions when updating, if they are not specified

0.2.4 released 2015-12-04

  • updated compatibility with SQLAlchemy to prevent warnings

0.2.3 released 2014-10-13

  • added SQLAlchemyBWC requirement to match usage

  • refactor form submission email notifications for easier overrides

0.2.2 released 2014-08-22

  • replaced DatagridBWC usage with WebGrid

0.2.1 released 2014-08-20

  • depend on TemplatingBWC for Select2 usage

0.2.0 released 2014-08-20

BC BREAK: some of these changes could break existing apps. The user experience will also be modified (we hope for the better).

  • pep8 linting applied to code

  • replaced older datagrids with newer declarative datagrids

  • enabled sessions on grids, trap FK delete exception

  • show only active users on Group form

  • applying Select2 UI enhancement

  • update dependencies, requires newer DataGridBWC version

0.1.10 released 2012-12-24

  • BC BREAK: change <h2> primary headings to <h1>

  • fix bad links in user permission map template (mlewellyn)

  • adjust message on login page to reference authorized users

0.1.9 released 2011-12-13

  • (MAJOR) fix bug that was causing groups to be deleted when a user is deleted. Make sure that you run the fix-group-fk task to shore up the DB constraints.

  • make User.testing_create() more robust

  • fix bug in user permission map template that was causing exceptions if a user was assigned to a group with permissions

  • add console command to add administrative user

0.1.8 released 2011-11-09

  • BC BREAK: change test_create() methods to testing_create()

0.1.7 released 2011-10-31

  • fix user message css styling issue on password reset page

0.1.6 released 2011-10-19

  • fix manage pages when used with MSSQL

0.1.5 released 2011-06-11

  • use Form from CommonBWC since it handles SAValidation errors now

  • fix bug in UserFormBase.add_field_errors()

  • Add UserMixin permission related methods

0.1.4 released 2011-01-07

  • (SECURITY FIX) fixed an issue with the way the HTTP session user permissions were loaded. This vulnerability made it possible for a user to gain the permissions of the user logged in previously. The user would have had to be sharing the same http session for this access to have been gained.

0.1.3 released 2010-11-24

  • modifying after_login_url() to take script_name into account (requires BlazeWeb upgrade to 0.3.1)

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

AuthBWC-0.3.3.tar.gz (48.2 kB view hashes)

Uploaded Source

Built Distribution

AuthBWC-0.3.3-py3-none-any.whl (52.3 kB view hashes)

Uploaded Python 3

Supported by

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