# Recognizing Policy

DevFeed: [Recognizing Policy](<https://devfeed.tech/articles/recognizing-policy-122371.md>)

Original publisher: [Read original article](<https://ryanharter.com/blog/2026/11/recognizing-policy/>)

Published: 2026-11-07T14:55:43Z

Content type: article

Language: en

Sources: [Blogs on Ryan Harter](<https://devfeed.tech/sources/blogs-on-ryan-harter.md>)

Topics: [Dynamic authorization rules](<https://devfeed.tech/topics/dynamic-authorization-rules.md>), [business logic](<https://devfeed.tech/topics/business-logic.md>), [policy-as-code](<https://devfeed.tech/topics/policy-as-code.md>), [Functional programming](<https://devfeed.tech/topics/functional-programming.md>)

Tags: [business-logic](<https://devfeed.tech/tags/business-logic.md>), [chat](<https://devfeed.tech/tags/chat.md>), [cross-platform](<https://devfeed.tech/tags/cross-platform.md>), [feature](<https://devfeed.tech/tags/feature.md>), [file-permissions](<https://devfeed.tech/tags/file-permissions.md>), [functional-programming](<https://devfeed.tech/tags/functional-programming.md>), [policy](<https://devfeed.tech/tags/policy.md>)

## AI overview

Policy is changeable business logic based on explicit business decisions, such as who may use a feature. The article traces commenting access from being available to everyone with file access, to depending on file permissions, and then being restricted for minors in certain jurisdictions. Keeping these checks in multiple platform codebases makes consistent behavior harder as rules accumulate. The author describes centralizing feature access decisions in a testable service: a `decide()` function takes defined inputs and returns a decision, which supports isolated testing and cross-platform code sharing. For server-side policies, Cedar offers a policy language and evaluation specification; its runtime implementations are described as fast, and its definitions can be analyzed for dead paths and conflicts. The article presents centralization and shared definitions as ways to reduce risk and accommodate policy changes.

## Source excerpt

When writing apps, we often talk about "business logic" and treat it like special code. We work hard to isolate our business logic from other parts of the code, like the view layer or framework-specific code, and we say that if you have limited test resources, testing your business logic is the first priority. Business logic is the core behavior of your app, but there's a certain class of business logic that I believe warrants extra attention: Policy.