User tests: Successful: Unsuccessful:
Pull Request for Issue #45971.
fixed form level.xml
use the POST with `` endpoint /api/index.php/v1/users/levels
with this payload to create a User Access Level
{
"id":"0",
"title": "aaTechnician",
"rules": "[1,2]"
}
HTTP 400 Bad request
{
"errors": [
{
"title": "Field required: id"
}
]
}
HTTP 200 ok
{
"links": {
"self": "https://localhost:80/api/index.php/v1/users/levels"
},
"data": {
"type": "levels",
"id": "16",
"attributes": {
"id": 16,
"title": "aaTechnician",
"rules": [
1,
2
]
}
}
}
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_users |
Title |
|
Labels |
Added:
bug
Webservices
PR-5.3-dev
|
Category | Administration com_users | ⇒ | Administration com_users JavaScript Unit Tests |
Labels |
Added:
Unit/System Tests
|
added some system test
Would you mind to add a system test for it?