feat: add basic "auth" data models: user/role/perm
not really tested yet though, other than unit tests
This commit is contained in:
parent
7442047d0e
commit
639b0de8b1
11 changed files with 378 additions and 6 deletions
6
docs/api/wuttjamaican/auth.rst
Normal file
6
docs/api/wuttjamaican/auth.rst
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
``wuttjamaican.auth``
|
||||
=====================
|
||||
|
||||
.. automodule:: wuttjamaican.auth
|
||||
:members:
|
6
docs/api/wuttjamaican/db.model.auth.rst
Normal file
6
docs/api/wuttjamaican/db.model.auth.rst
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
``wuttjamaican.db.model.auth``
|
||||
==============================
|
||||
|
||||
.. automodule:: wuttjamaican.db.model.auth
|
||||
:members:
|
|
@ -8,10 +8,12 @@
|
|||
:maxdepth: 1
|
||||
|
||||
app
|
||||
auth
|
||||
conf
|
||||
db
|
||||
db.conf
|
||||
db.model
|
||||
db.model.auth
|
||||
db.model.base
|
||||
db.sess
|
||||
exc
|
||||
|
|
|
@ -55,6 +55,12 @@ Glossary
|
|||
|
||||
See also the code-friendly :term:`app name`.
|
||||
|
||||
auth handler
|
||||
A :term:`handler` responsible for user authentication and
|
||||
authorization (login, permissions) and related things.
|
||||
|
||||
See also :class:`~wuttjamaican.auth.AuthHandler`.
|
||||
|
||||
command
|
||||
A top-level command line interface for the app. Note that
|
||||
top-level commands don't usually "do" anything per se, and are
|
||||
|
@ -71,6 +77,9 @@ Glossary
|
|||
happens is, a config object is created and then extended by each
|
||||
of the registered config extensions.
|
||||
|
||||
The intention is that all config extensions will have been
|
||||
applied before the :term:`app handler` is created.
|
||||
|
||||
config file
|
||||
A file which contains :term:`config settings<config setting>`.
|
||||
See also :doc:`narr/config/files`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue