Remove references to old permissions field

This commit is contained in:
rijkvanzanten
2021-09-09 18:35:03 -04:00
parent 2aba8a6dd7
commit 90ef236fb8
3 changed files with 2 additions and 12 deletions

View File

@@ -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"]
}
}
```

View File

@@ -7,5 +7,4 @@ export type Permission = {
validation: Record<string, any> | null;
presets: Record<string, any> | null;
fields: string[] | null;
limit: number | null;
};

View File

@@ -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