objects/delete/<type> | /v1/objects | Yes
status/query/<type> | /v1/status | Yes
events/<type> | /v1/events | No
- console/execute-script | /v1/console | No
- console/auto-complete-script | /v1/console | No
+ console | /v1/console | No
The required actions or types can be replaced by using a wildcard match ("*").
String methodName = request.RequestUrl->GetPath()[2];
- String permission = "console/" + methodName;
+ String permission = "console";
FilterUtility::CheckPermission(user, permission);
String session = HttpUtility::GetLastParameter(params, "session");