hawat.blueprints.users package

This file contains pluggable module for Hawat web interface containing features related to user account management. These features include:

  • general user account listing

  • detailed user account view

  • creating new user accounts

  • updating existing user accounts

  • deleting existing user accounts

  • enabling existing user accounts

  • disabling existing user accounts

  • adding group memberships

  • removing group memberships

  • rejecting group membership requests

class hawat.blueprints.users.CreateView[source]

Bases: vial.blueprints.users.CreateView

View for creating new user accounts.

static get_item_form(item)[source]

Hook method. Must return instance of flask_wtf.FlaskForm appropriate for given item class.

class hawat.blueprints.users.UpdateView[source]

Bases: vial.blueprints.users.UpdateView

View for updating existing user accounts.

static get_item_form(item)[source]

Hook method. Must return instance of flask_wtf.FlaskForm appropriate for given item class.

class hawat.blueprints.users.UsersBlueprint(name, import_name, **kwargs)[source]

Bases: vial.blueprints.users.UsersBlueprint

Pluggable module - user account management (users).

register_app(app)[source]

Hook method: Custom callback, which will be called from vial.app.Vial.register_blueprint() method and which can perform additional tweaking of Vial application object.

Parameters

app (vial.app.Vial) – Application object.

hawat.blueprints.users.get_blueprint()[source]

Mandatory interface for vial.Vial and factory function. This function must return a valid instance of vial.app.VialBlueprint or flask.Blueprint.