修改指定的分组功能模块
PUT
https://api.oraydev.cn/sl/v1/enterprise/role-groups/{groupid}/acl先查询该分组的功能模块列表,修改对应的功能模块后,再把模块列表回传
请求参数
Path 参数
groupid
string
角色组ID
示例值:
168
Body 参数application/json
group_id
integer
必需
function
object
必需
batchdeploy::DeleteDeployPackage
object
必需
batchdeploy::ExportDeployRemote
object
必需
batchdeploy::GetPackages
object
必需
control_perm::RemoteAssistance
object
必需
customize::CreateCustomize
object
必需
customize::DeleteCustomize
object
必需
customize::ExportCustomize
object
必需
customize::GetCustomizes
object
必需
customize::UpdateCustomize
object
必需
customize::UpgradeCustomize
object
必需
customize::manageCustomize
object
必需
remote::CreateRemoteUser
object
必需
remote::DeleteRemoteUser
object
必需
remote::GetRemotes
object
必需
remote::ManageRemote
object
必需
remote::ManageTag
object
必需
remote::UpdateConfig
object
必需
remotely::Chat
object
必需
remotely::CmdSsh
object
必需
remotely::CutAndPasteFile
object
必需
remotely::CutAndPasteText
object
必需
remotely::DesktopControl
object
必需
remotely::DesktopViewing
object
必需
remotely::EditorFile
object
必需
remotely::PrivacyScreen
object
必需
remotely::RDP
object
必需
remotely::ReceiveFile
object
必需
remotely::RemoteCamera
object
必需
remotely::RemoteFile
object
必需
remotely::RemoteManagement
object
必需
remotely::RemotePrint
object
必需
remotely::Restart
object
必需
remotely::Screenshot
object
必需
remotely::SendFile
object
必需
remotely::ShutDown
object
必需
remotely::StartingUp
object
必需
remotely::Video
object
必需
remotely::Voice
object
必需
security::UpdateSecurityLogin
object
必需
user::GetUsers
object
必需
示例
{
"group_id": 0,
"function": {
"batchdeploy::DeleteDeployPackage": {
"target_id": "string",
"allow": true
},
"batchdeploy::ExportDeployRemote": {
"target_id": "string",
"allow": true
},
"batchdeploy::GetPackages": {
"target_id": "string",
"allow": true
},
"control_perm::RemoteAssistance": {
"target_id": "string",
"allow": true
},
"customize::CreateCustomize": {
"target_id": "string",
"allow": true
},
"customize::DeleteCustomize": {
"target_id": "string",
"allow": true
},
"customize::ExportCustomize": {
"target_id": "string",
"allow": true
},
"customize::GetCustomizes": {
"target_id": "string",
"allow": true
},
"customize::UpdateCustomize": {
"target_id": "string",
"allow": true
},
"customize::UpgradeCustomize": {
"target_id": "string",
"allow": true
},
"customize::manageCustomize": {
"target_id": "string",
"allow": true
},
"remote::CreateRemoteUser": {
"target_id": "string",
"allow": true
},
"remote::DeleteRemoteUser": {
"target_id": "string",
"allow": true
},
"remote::GetRemotes": {
"allow": true,
"target_id": "string"
},
"remote::ManageRemote": {
"allow": true,
"target_id": "string"
},
"remote::ManageTag": {
"target_id": "string",
"allow": true
},
"remote::UpdateConfig": {
"target_id": "string",
"allow": true
},
"remotely::Chat": {
"target_id": "string",
"allow": true
},
"remotely::CmdSsh": {
"target_id": "string",
"allow": true
},
"remotely::CutAndPasteFile": {
"target_id": "string",
"allow": true
},
"remotely::CutAndPasteText": {
"target_id": "string",
"allow": true
},
"remotely::DesktopControl": {
"target_id": "string",
"allow": true
},
"remotely::DesktopViewing": {
"target_id": "string",
"allow": true
},
"remotely::EditorFile": {
"target_id": "string",
"allow": true
},
"remotely::PrivacyScreen": {
"target_id": "string",
"allow": true
},
"remotely::RDP": {
"target_id": "string",
"allow": true
},
"remotely::ReceiveFile": {
"target_id": "string",
"allow": true
},
"remotely::RemoteCamera": {
"target_id": "string",
"allow": true
},
"remotely::RemoteFile": {
"target_id": "string",
"allow": true
},
"remotely::RemoteManagement": {
"target_id": "string",
"allow": true
},
"remotely::RemotePrint": {
"target_id": "string",
"allow": true
},
"remotely::Restart": {
"target_id": "string",
"allow": true
},
"remotely::Screenshot": {
"target_id": "string",
"allow": true
},
"remotely::SendFile": {
"target_id": "string",
"allow": true
},
"remotely::ShutDown": {
"target_id": "string",
"allow": true
},
"remotely::StartingUp": {
"target_id": "string",
"allow": true
},
"remotely::Video": {
"target_id": "string",
"allow": true
},
"remotely::Voice": {
"target_id": "string",
"allow": true
},
"security::UpdateSecurityLogin": {
"allow": true,
"target_id": "string"
},
"user::GetUsers": {
"allow": true,
"target_id": "string"
}
}
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
成功
数据结构
object {0}
示例
未设置
最后修改时间: 6 天前