mirror of
https://github.com/directus/directus.git
synced 2026-04-03 03:00:39 -04:00
Remove references to old permissions field
This commit is contained in:
@@ -50,9 +50,6 @@ Additional default values for the role.
|
||||
`fields` **array**\
|
||||
What fields the user is allowed to alter.
|
||||
|
||||
`limit` **integer**\
|
||||
How many items the user is able to alter at once in batch operations.
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
@@ -72,8 +69,7 @@ How many items the user is able to alter at once in batch operations.
|
||||
"presets": {
|
||||
"published": false
|
||||
},
|
||||
"fields": ["title", "translations"],
|
||||
"limit": null
|
||||
"fields": ["title", "translations"]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -190,8 +186,7 @@ GET /permissions/:id
|
||||
"presets": {
|
||||
"published": false
|
||||
},
|
||||
"fields": ["title", "translations"],
|
||||
"limit": null
|
||||
"fields": ["title", "translations"]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
@@ -7,5 +7,4 @@ export type Permission = {
|
||||
validation: Record<string, any> | null;
|
||||
presets: Record<string, any> | null;
|
||||
fields: string[] | null;
|
||||
limit: number | null;
|
||||
};
|
||||
|
||||
@@ -41,7 +41,3 @@ properties:
|
||||
items:
|
||||
type: string
|
||||
nullable: true
|
||||
limit:
|
||||
description: Maximum amount of items the user can interact with at a time.
|
||||
type: number
|
||||
nullable: true
|
||||
|
||||
Reference in New Issue
Block a user