Repository navigation
fix: remove debug logs and dead modal controls - #260
Merged
Merged
Conversation
Owner
|
Thanks, this does what #243 asks: all six Two things before merging:
Optional: the |
This was referenced Oct 17, 2026
antiv
added a commit
that referenced
this pull request
Oct 17, 2026
* RBAC: refuse when the check can't decide rbac_before_model_callback let a model call through, with a warning, when the context had no user id or no agent name, or when no enabled agents_config row was found for the agent. get_root_agent_by_name returns None on a query error too, so a database error also became an allow. All three now refuse, as the exception path already did, and the mate.rbac_check span records allowed=false for them. The LangGraph hook refuses an agent without a config the same way. Eval and Playground runs (is_eval_run) and the system agents in _should_skip_rbac_check still skip the check; agents built in code get no MATE callbacks. Also the CHANGELOG entry for #260. * RBAC: the callback chain refuses when the check fails to run; docs on plugin mode From the security review of the previous commit: - combined_user_profile_and_rbac_callback caught an exception from the RBAC check, logged a warning and went on to the model. It now refuses. - With MATE_PLUGINS_ENABLED=true the check runs for every LLM agent in the app, so an agent built in code without an agents_config row is now refused. The guide and CHANGELOG say so instead of claiming code-built agents never reach the check, and the LangGraph line says what its hook actually adds. - Tests: system agents and eval runs still pass without a config row, and the chain refuses when the check raises. --------- Co-authored-by: Claude <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Remove debug console.log statements from agent forms and tools.
Remove nonfunctional minimize/restore buttons and drag handle from the memory block modal.
Testing
Ran git diff --check successfully.
Manually reviewed the changes.
Closes #243