docs: update policy types, add docs for expression policies

This commit is contained in:
Jens Langhammer
2020-02-19 10:21:28 +01:00
parent 7f3d0113c2
commit 1b82283a20
8 changed files with 34 additions and 36 deletions

View File

@ -0,0 +1,20 @@
# Passbook User Object
The User object has the following attributes:
- `username`: User's Username
- `email` User's E-Mail
- `name` User's Display Name
- `is_staff` Boolean field if user is staff
- `is_active` Boolean field if user is active
- `date_joined` Date User joined/was created
- `password_change_date` Date Password was last changed
- `attributes` Dynamic Attributes
## Examples
List all the User's Group Names
```jinja2
[{% for group in user.groups.all() %}'{{ group.name }}',{% endfor %}]
```