Commit 456f4e5
committed
feat: Add brand manifest policy UI dropdown in Admin
Add UI dropdown in Policies & Workflows section to configure brand_manifest_policy.
The brand_manifest_policy system was added in PR #663 with three options:
- require_auth (default): Auth required, brand_manifest optional
- require_brand: Auth + brand_manifest required (strictest)
- public: No auth required, no pricing shown
This PR adds the missing UI piece so admins can configure the policy:
Changes:
- Added dropdown to tenant_settings.html in Policies & Workflows section
- Added backend handling in settings.py to save the policy value
- Added documentation in docs/brand-manifest-policy.md
- Added script to batch update tenants: scripts/update_brand_manifest_policy.py
Usage:
Admin UI → Tenant Settings → Policies & Workflows → Brand Manifest Policy
Related: PR #663 (original implementation)1 parent cfc1e68 commit 456f4e5
File tree
2 files changed
+64
-0
lines changed- src/admin/blueprints
- templates
2 files changed
+64
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
770 | 770 | | |
771 | 771 | | |
772 | 772 | | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
773 | 787 | | |
774 | 788 | | |
775 | 789 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
975 | 975 | | |
976 | 976 | | |
977 | 977 | | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
978 | 1028 | | |
979 | 1029 | | |
980 | 1030 | | |
| |||
0 commit comments