Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions catalog/permissions.json
Original file line number Diff line number Diff line change
Expand Up @@ -285,13 +285,13 @@
},
{
"name": "Email Sending Read",
"scope": "zone",
"scope": "account",
"surfaces": ["sender_domain"],
"profiles": ["read", "deploy", "full-operator"]
},
{
"name": "Email Sending Write",
"scope": "zone",
"scope": "account",
"surfaces": ["sender_domain"],
"profiles": ["deploy", "full-operator"]
},
Expand Down
3 changes: 2 additions & 1 deletion scripts/verify_static_contract.sh
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,8 @@ assert_jq_file "permission profile minimality policy" '
and (.profiles["security-audit"].allowed_surfaces | index("zone.setting")) != null
and (.permissions[] | select(.name == "Zone Settings Read" and .scope == "zone" and (.surfaces | index("zone.setting")) != null))
and (.permissions[] | select(.name == "Zone Settings Write" and .scope == "zone" and (.profiles | index("hostname")) != null))
and (.permissions[] | select(.name == "Email Sending Write" and .scope == "zone" and (.surfaces | index("sender_domain")) != null and (.profiles | index("deploy")) != null))
and (.permissions[] | select(.name == "Email Sending Read" and .scope == "account" and (.surfaces | index("sender_domain")) != null and (.profiles | index("deploy")) != null))
and (.permissions[] | select(.name == "Email Sending Write" and .scope == "account" and (.surfaces | index("sender_domain")) != null and (.profiles | index("deploy")) != null))
and (.profiles.deploy.allowed_surfaces | index("audit.log")) != null
and (.profiles.deploy.allowed_surfaces | index("wrangler")) != null
and .profiles["full-operator"].allowed_surfaces == ["*"]
Expand Down
Loading