mirror of
https://github.com/directus/directus.git
synced 2026-04-03 03:00:39 -04:00
Permission examples
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
}
|
||||
```
|
||||
|
||||
### Example
|
||||
### Examples
|
||||
|
||||
```json
|
||||
{
|
||||
@@ -26,6 +26,22 @@
|
||||
}
|
||||
```
|
||||
|
||||
```json
|
||||
{
|
||||
"owner": {
|
||||
"_eq": "$CURRENT_USER"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
```json
|
||||
{
|
||||
"datetime": {
|
||||
"_lte": "$NOW"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Relational
|
||||
|
||||
You can target related values by nesting field names. For example, if you have a relational [Many-to-One](#)
|
||||
|
||||
Reference in New Issue
Block a user