add-admin-interface #31
No reviewers
Labels
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
geomind_code/webgateway!31
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "add-admin-interface"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
50f8587b034053556b75@ -66,0 +357,4 @@}}// Parse parameterscan we extract this in helper function authenticateAdmin?
@ -253,110 +593,27 @@ func (r *MethodRouter) handleMyceliumServicesUpdate(ctx context.Context, req *ht}can we check here firstly if the error is service notfound or not
check for delete service too
this method just updates/delete the service, if you checked the functions calling it for example
handleMyceliumServicesUpdate, they try to get the service and check their ownership before this update function is called@ -264,0 +395,4 @@},{"code": -32003,"message": "Admin privileges required",code should be -32002 for Forbidden can u check the rest
@ -329,0 +425,4 @@if len(backends) == 0 {return fmt.Errorf("at least one --backend is required")}can we validate --method here as well?