Repository navigation
Cedar as the policy language in OpenShell - #99
Conversation
Signed-off-by: Vishwanath Raman <vishwanathr@nvidia.com>
Signed-off-by: Vishwanath Raman <vishwanathr@nvidia.com>
Signed-off-by: Vishwanath Raman <vishwanathr@nvidia.com>
Signed-off-by: Vishwanath Raman <vishwanathr@nvidia.com>
Signed-off-by: Vishwanath Raman <vishwanathr@nvidia.com>
Signed-off-by: Vishwanath Raman <vishwanathr@nvidia.com>
Signed-off-by: Vishwanath Raman <vishwanathr@nvidia.com>
Signed-off-by: Vishwanath Raman <vishwanathr@nvidia.com>
Signed-off-by: Vishwanath Raman <vishwanathr@nvidia.com>
Signed-off-by: Vishwanath Raman <vishwanathr@nvidia.com>
Signed-off-by: Vishwanath Raman <vishwanathr@nvidia.com>
Signed-off-by: Vishwanath Raman <vishwanathr@nvidia.com>
Signed-off-by: Vishwanath Raman <vishwanathr@nvidia.com>
Signed-off-by: Vishwanath Raman <vishwanathr@nvidia.com>
Signed-off-by: Vishwanath Raman <vishwanathr@nvidia.com>
Signed-off-by: Vishwanath Raman <vishwanathr@nvidia.com>
Documentation previewThe preview has been removed. |
Signed-off-by: Vishwanath Raman <vishwanathr@nvidia.com>
Signed-off-by: Vishwanath Raman <vishwanathr@nvidia.com>
Signed-off-by: Vishwanath Raman <vishwanathr@nvidia.com>
|
@vishwa-raman I pushed 8cd2275 to this branch, which adds LaTeX math support to Dev Notes (MathJax, set up the way Zensical's Math guide recommends). Write inline math as With that available, a few patterns would make the formal parts of the note easier to follow:
For example, the end of line 69 could read: Mathematically, is it the case that \(P_1 \Rightarrow P_2\)? If so, taking \(\mathit{grants}\) to be a function that takes a policy and returns the set of all grants in that policy, \(\mathit{grants}(P_1) \subseteq \mathit{grants}(P_2)\).And the set-difference item in the Prover section could put its equation on its own line. Indent the equation and the paragraph after it so they stay inside the list item, and leave a blank line before the next item: 2. **Set difference:** this is what `forbid` adds. A matching `forbid` always overrides any `permit`, so
\[
\mathit{allowed}(P) = \Big(\bigcup \mathit{permits}\Big) \setminus \Big(\bigcup \mathit{forbids}\Big)
\]
That's the formal reason "forbid always wins" and why policy order doesn't matter.
3. **Intersection**, within a single policy: ...The three relations would follow the same pattern: |
Signed-off-by: Vishwanath Raman <vishwanathr@nvidia.com>
Signed-off-by: Vishwanath Raman <vishwanathr@nvidia.com>
Signed-off-by: Vishwanath Raman <vishwanathr@nvidia.com>
Signed-off-by: Vishwanath Raman <vishwanathr@nvidia.com>
Signed-off-by: Vishwanath Raman <vishwanathr@nvidia.com>
|
@johnnygreco - Addressed all comments. Please take a look. |
johnnygreco
left a comment
There was a problem hiding this comment.
Great post, thanks @vishwa-raman!!
Signed-off-by: Vishwanath Raman <vishwanathr@nvidia.com>
Signed-off-by: Vishwanath Raman <vishwanathr@nvidia.com>
|
Addressed the footnote order which was the last thing remaining. Will merge once everything passes. |
Signed-off-by: Vishwanath Raman <vishwanathr@nvidia.com>
Signed-off-by: Vishwanath Raman <vishwanathr@nvidia.com>
Signed-off-by: Vishwanath Raman <vishwanathr@nvidia.com>
Signed-off-by: Vishwanath Raman <vishwanathr@nvidia.com>
Signed-off-by: Vishwanath Raman <vishwanathr@nvidia.com>
Signed-off-by: Vishwanath Raman <vishwanathr@nvidia.com> # Conflicts: # docs/dev-notes/index.md # zensical.toml
No description provided.