Alter handles requests to change the schema or remove parts or all of the data. It enforces the admin-IP-whitelist and ACL authorization checks.
(ctx context.Context, op *api.Operation)
| 353 | // Alter handles requests to change the schema or remove parts or all of the |
| 354 | // data. It enforces the admin-IP-whitelist and ACL authorization checks. |
| 355 | func (s *Server) Alter(ctx context.Context, op *api.Operation) (*api.Payload, error) { |
| 356 | return s.alter(ctx, op, NeedAuthorize) |
| 357 | } |
| 358 | |
| 359 | // AlterNoAuth is Alter without the admin-IP-whitelist and ACL authorization |
| 360 | // checks. It mirrors QueryNoAuth and is intended only for trusted in-process |