mirror of
https://github.com/paralus/paralus.git
synced 2026-03-05 18:40:18 +00:00
multiple fixes and refactored to support from id to name, added resource roles, permissions script and improved test coverage
64 lines
1007 B
JSON
64 lines
1007 B
JSON
{
|
|
"name": "user.write",
|
|
"resource_urls": [
|
|
{
|
|
"url": "/",
|
|
"methods": [
|
|
"POST"
|
|
]
|
|
},
|
|
{
|
|
"url": "/:account_id/",
|
|
"methods": [
|
|
"PUT",
|
|
"DELETE"
|
|
]
|
|
}
|
|
],
|
|
"resource_action_urls": [
|
|
{
|
|
"url": "/:account_id/deactivate/",
|
|
"methods": [
|
|
"POST"
|
|
]
|
|
},
|
|
{
|
|
"url": "/:account_id/activate/",
|
|
"methods": [
|
|
"POST"
|
|
]
|
|
},
|
|
{
|
|
"url": "/:account_id/addtogroups/",
|
|
"methods": [
|
|
"POST"
|
|
]
|
|
},
|
|
{
|
|
"url": "/:account_id/removefromgroups/",
|
|
"methods": [
|
|
"POST"
|
|
]
|
|
},
|
|
{
|
|
"url": "/:account_id/assigntoproject/",
|
|
"methods": [
|
|
"POST"
|
|
]
|
|
},
|
|
{
|
|
"url": "/:account_id/unassignfromproject/",
|
|
"methods": [
|
|
"POST"
|
|
]
|
|
},
|
|
{
|
|
"url": "/:account_id/editproject/",
|
|
"methods": [
|
|
"POST"
|
|
]
|
|
}
|
|
],
|
|
"base_url": "/auth/v3/users",
|
|
"authenticated": true
|
|
} |