René's URL Explorer Experiment


Title: OPA/Policy: ensure scope and allow-list checks · Issue #19852 · coder/coder · GitHub

Open Graph Title: OPA/Policy: ensure scope and allow-list checks · Issue #19852 · coder/coder

X Title: OPA/Policy: ensure scope and allow-list checks · Issue #19852 · coder/coder

Description: Description Confirm and, if necessary, adjust coderd/rbac/policy.rego to require both role allow and scope allow. Ensure allow-list membership is enforced for reads/updates/deletes, but not for creates (no ID at creation time), matching ...

Open Graph Description: Description Confirm and, if necessary, adjust coderd/rbac/policy.rego to require both role allow and scope allow. Ensure allow-list membership is enforced for reads/updates/deletes, but not for cre...

X Description: Description Confirm and, if necessary, adjust coderd/rbac/policy.rego to require both role allow and scope allow. Ensure allow-list membership is enforced for reads/updates/deletes, but not for cre...

Opengraph URL: https://github.com/coder/coder/issues/19852

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"OPA/Policy: ensure scope and allow-list checks","articleBody":"Description\n\n- Confirm and, if necessary, adjust `coderd/rbac/policy.rego` to require both role allow and scope allow. Ensure allow-list membership is enforced for reads/updates/deletes, but not for creates (no ID at creation time), matching the RFC.\n\nProgress\n\n- PR #19748 updated `policy.rego` and RBAC to a typed `{type,id}` allow-list, added wildcard handling (`(*,*)`, `(type,*)`), and included unit tests (`TestScopeAllowList`).\n\nRemaining work\n\n- Explicitly verify and add tests that create operations bypass allow-list ID checks while read/update/delete enforce membership.\n- Add deny-by-default tests when scope is missing; cover list endpoints where applicable.\n- Ensure all subject construction paths now provide typed allow-lists; update docs/README for policy changes.\n\nKey files/areas\n\n- `coderd/rbac/policy.rego` and unit tests.\n\nAcceptance criteria\n\n- Policy tests prove deny-by-default when scope is missing and allow-list excludes the resource.\n- Create operations bypass allow-list ID checks; other verbs require matching IDs.","author":{"url":"https://github.com/ThomasK33","@type":"Person","name":"ThomasK33"},"datePublished":"2025-09-17T14:05:34Z","url":"https://github.com/coder/coder/issues/19852"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:2b835668-4582-fe49-9cf3-80aa3d223b64
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAE32:2EF149:53E7F0:6DF9D2:6B017A2A
html-safe-nonceacc8fee87312e171d80cc62c97b074ddfc5ea7a1108d3108847c23c092ecd73f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTMyOjJFRjE0OTo1M0U3RjA6NkRGOUQyOjZCMDE3QTJBIiwidmlzaXRvcl9pZCI6IjQ1MTk1NzI1MTM3NTUzMzExMTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac56068e74e3cbd679fce1fbe84a3a0b3d67211707d4c99ad3597b14871fa874b0
hovercard-subject-tagissue:3426467338
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/19852/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d87edf38c6a7e7ad7559607f9425860f131fb137e668aac51daeac2089f41031/coder/coder/issues/19852
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d87edf38c6a7e7ad7559607f9425860f131fb137e668aac51daeac2089f41031/coder/coder/issues/19852
og:image:altDescription Confirm and, if necessary, adjust coderd/rbac/policy.rego to require both role allow and scope allow. Ensure allow-list membership is enforced for reads/updates/deletes, but not for cre...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameThomasK33
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/coder/coder git https://github.com/coder/coder.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id440752086
octolytics-dimension-repository_nwocoder/coder
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id440752086
octolytics-dimension-repository_network_root_nwocoder/coder
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/coder/coder/issues/19852#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fissues%2F19852
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fissues%2F19852
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=coder%2Fcoder
Reloadhttps://github.com/coder/coder/issues/19852
Reloadhttps://github.com/coder/coder/issues/19852
Reloadhttps://github.com/coder/coder/issues/19852
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests470 (470)https://github.com/coder/coder/pulls
Discussionshttps://github.com/coder/coder/discussions
Actionshttps://github.com/coder/coder/actions
Projectshttps://github.com/coder/coder/projects
Security and quality49 (49)https://github.com/coder/coder/security
Insightshttps://github.com/coder/coder/insights
https://github.com/coder/coder
New issuehttps://github.com/login?return_to=https://github.com/coder/coder/issues/19852
New issuehttps://github.com/login?return_to=https://github.com/coder/coder/issues/19852
Chorehttps://github.com/coder/coder/issues?q=type:"Chore"
OPA/Policy: ensure scope and allow-list checkshttps://github.com/coder/coder/issues/19852#top
https://github.com/ThomasK33
https://github.com/ThomasK33
ThomasK33https://github.com/ThomasK33
on Sep 17, 2025https://github.com/coder/coder/issues/19852#issue-3426467338
feat: scope allow_list to include resource_type #19748https://github.com/coder/coder/pull/19748
ThomasK33https://github.com/ThomasK33
on Sep 17, 2025https://github.com/coder/coder/issues/19852#event-19751536485
API Key Scopes — Implementation Epic #19842https://github.com/coder/coder/issues/19842
ThomasK33https://github.com/ThomasK33
on Sep 17, 2025https://github.com/coder/coder/issues/19852#event-19751692514
Allow-list model and parsing #19850https://github.com/coder/coder/issues/19850
Subject construction: attach scopes and allow-list to requests #19851https://github.com/coder/coder/issues/19851
ThomasK33https://github.com/ThomasK33
on Sep 17, 2025https://github.com/coder/coder/issues/19852#event-19751716141
API: token create/list/update with scopes[] and allow_list[] #19853https://github.com/coder/coder/issues/19853
SDK (Go): codersdk types for scopes[] + allow_list[] #19854https://github.com/coder/coder/issues/19854
CLI: coder tokens create/list/update flags #19855https://github.com/coder/coder/issues/19855
UI: scope and allow-list wizard #19856https://github.com/coder/coder/issues/19856
Audit logging: capture scopes/allow-list on key create/update/use #19857https://github.com/coder/coder/issues/19857
Telemetry/metrics: scope enforcement visibility #19858https://github.com/coder/coder/issues/19858
Documentation: product, API, and examples #19859https://github.com/coder/coder/issues/19859
Backward compatibility tests and fixtures #19860https://github.com/coder/coder/issues/19860
matifalihttps://github.com/matifali
Chorehttps://github.com/coder/coder/issues?q=type:"Chore"
on Sep 22, 2025https://github.com/coder/coder/issues/19852#event-19833435190
ThomasK33https://github.com/ThomasK33
on Sep 29, 2025https://github.com/coder/coder/issues/19852#event-19976596522
ThomasK33https://github.com/ThomasK33
fix: improve RBAC scope allow list handling for create actions #20008https://github.com/coder/coder/pull/20008
on Sep 29, 2025https://github.com/coder/coder/issues/19852#event-19982730810
ThomasK33https://github.com/ThomasK33
fix: improve RBAC scope allow list handling for create actions #20008https://github.com/coder/coder/pull/20008
on Sep 29, 2025https://github.com/coder/coder/issues/19852#event-19982731878
ThomasK33https://github.com/ThomasK33
fix: improve RBAC scope allow list handling for create actions #20008https://github.com/coder/coder/pull/20008
on Sep 29, 2025https://github.com/coder/coder/issues/19852#event-19982744842
ThomasK33https://github.com/ThomasK33
completedhttps://github.com/coder/coder/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Nov 14, 2025https://github.com/coder/coder/issues/19852#event-20939354450
ThomasK33https://github.com/ThomasK33
not plannedhttps://github.com/coder/coder/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Anot-planned
on Nov 14, 2025https://github.com/coder/coder/issues/19852#event-20939385476
Sign up for freehttps://github.com/signup?return_to=https://github.com/coder/coder/issues/19852
Sign in to commenthttps://github.com/login?return_to=https://github.com/coder/coder/issues/19852
ThomasK33https://github.com/ThomasK33
Chorehttps://github.com/coder/coder/issues?q=type:"Chore"
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.