mirror of
https://github.com/paralus/paralus.git
synced 2026-05-20 07:12:54 +00:00
restructure rcloud-base as a single base controller (#37)
* restructure rcloud-base as a single base controller * updated master.rest * moved sentry from internal to pkg as it is used by relay * removing unused rpc and it's dependencies * Fix usermgmt tests * Don't redefine variables in rest file Co-authored-by: Abin Simon <abin.simon@rafay.co>
This commit is contained in:
130
scripts/resourcepermissions/data/organization_write.json
Normal file
130
scripts/resourcepermissions/data/organization_write.json
Normal file
@@ -0,0 +1,130 @@
|
||||
{
|
||||
"name": "organization.write",
|
||||
"resource_urls": [
|
||||
{
|
||||
"url": "/",
|
||||
"methods": [
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"url": "/:organization_id/",
|
||||
"methods": [
|
||||
"PUT",
|
||||
"DELETE"
|
||||
]
|
||||
}
|
||||
],
|
||||
"resource_action_urls": [
|
||||
{
|
||||
"url": "/:organization_id/namespace/",
|
||||
"methods": [
|
||||
"PUT"
|
||||
]
|
||||
},
|
||||
{
|
||||
"url": "/:organization_id/approve/",
|
||||
"methods": [
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"url": "/:organization_id/unapprove/",
|
||||
"methods": [
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"url": "/:organization_id/enable_private_edge/",
|
||||
"methods": [
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"url": "/:organization_id/disable_private_edge/",
|
||||
"methods": [
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"url": "/:organization_id/activate/",
|
||||
"methods": [
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"url": "/:organization_id/deactivate/",
|
||||
"methods": [
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"url": "/:organization_id/share_clusters/",
|
||||
"methods": [
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"url": "/:organization_id/tier/",
|
||||
"methods": [
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"url": "/:organization_id/adduser/",
|
||||
"methods": [
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"url": "/:organization_id/edituser/",
|
||||
"methods": [
|
||||
"PUT"
|
||||
]
|
||||
},
|
||||
{
|
||||
"url": "/:organization_id/deactivateuser/",
|
||||
"methods": [
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"url": "/:organization_id/activateuser/",
|
||||
"methods": [
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"url": "/:organization_id/subscribe_to_alert/",
|
||||
"methods": [
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"url": "/:organization_id/enable_psps/",
|
||||
"methods": [
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"url": "/:organization_id/enable_custom_psps/",
|
||||
"methods": [
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"url": "/:organization_id/disable_psps/",
|
||||
"methods": [
|
||||
"POST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"url": "/:organization_id/disable_custom_psps/",
|
||||
"methods": [
|
||||
"POST"
|
||||
]
|
||||
}
|
||||
],
|
||||
"base_url": "/auth/v3/organizations",
|
||||
"authenticated": true
|
||||
}
|
||||
Reference in New Issue
Block a user