app.commands

This module defines extra flask commands.

copyright
  1. 2018 European Spallation Source ERIC

license

BSD 2-Clause, see LICENSE for more details.

app.commands.clean_deferred_tasks()[source]

Set all deferred tasks to failed

app.commands.disable_user(user)[source]

Clear users’groups, email and tokens

app.commands.register_cli(app)[source]
app.commands.sync_user(connection, user)[source]

Synchronize the user from the database with information from the LDAP server

app.commands.sync_users()[source]

Synchronize all users from the database with information the LDAP server