retire APIView
This commit is contained in:
parent
b58a62f77e
commit
5cc4c5ca2a
@ -4,7 +4,7 @@
|
|||||||
```json
|
```json
|
||||||
[
|
[
|
||||||
"ScoSuperAdmin",
|
"ScoSuperAdmin",
|
||||||
"APIView",
|
"ScoView",
|
||||||
"..."
|
"..."
|
||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
@ -3,13 +3,14 @@
|
|||||||
#### POST /role/customRole/edit
|
#### POST /role/customRole/edit
|
||||||
> `Content-Type: application/json`
|
> `Content-Type: application/json`
|
||||||
>
|
>
|
||||||
> `{ "name" : "LaveurDeVitres", "permissions" : [ "ScoView", "APIView" ] }`
|
> `{ "name" : "LaveurDeVitres", "permissions" : [ "ScoView", "ScoAbsChange" ] }`
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"id": 13,
|
"id": 13,
|
||||||
"permissions": [
|
"permissions": [
|
||||||
"ScoView"
|
"ScoView",
|
||||||
|
"ScoAbsChange"
|
||||||
],
|
],
|
||||||
"role_name": "customRole"
|
"role_name": "customRole"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user