Split risk policy into its own navigation tab.
Move read-only risk control docs to /risk_policy before settings; keep transfers and exports on the settings page. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -6819,6 +6819,15 @@ def stats_page():
|
||||
return render_main_page("stats")
|
||||
|
||||
|
||||
@app.route("/risk_policy")
|
||||
@login_required
|
||||
def risk_policy_page():
|
||||
redir = redirect_to_embed_shell_if_enabled("risk_policy")
|
||||
if redir is not None:
|
||||
return redir
|
||||
return render_main_page("risk_policy")
|
||||
|
||||
|
||||
@app.route("/settings")
|
||||
@login_required
|
||||
def settings_page():
|
||||
|
||||
Reference in New Issue
Block a user