mirror of
https://github.com/goauthentik/authentik
synced 2026-04-27 18:07:15 +02:00
* Reorganize policy documentation * website/docs: address policy docs review feedback * post-rebase * website/docs: Reorganize policy documentation -- Revisions (#21601) * apply suggestions --------- Co-authored-by: Teffen Ellis <592134+GirlBossRush@users.noreply.github.com>
10 lines
266 B
Markdown
10 lines
266 B
Markdown
- `user`: The current user. This may be `None` if there is no contextual user. See [User](../../users-sources/user/user_ref.mdx#object-properties).
|
|
|
|
Example:
|
|
|
|
```python
|
|
return {
|
|
"custom_attribute": request.user.attributes.get("custom_attribute", "default"),
|
|
}
|
|
```
|