Closed ymc9 closed 3 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
zenstack-new-site | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 12, 2024 4:45pm |
The update enhances the ZenStack framework by introducing a new check()
function for verifying user permissions on field operations, updates sidebar labels and links for better navigation, and adds new sections on access policy delegation and keeping policies DRY in the documentation. Additionally, the ZenStackModuleOptions
interface in the NestJS server adapter has been updated to include an optional model
parameter.
File Path | Change Summary |
---|---|
docs/reference/zmodel-language.md |
Added a new check() function in the Z-Model language for permission verification. |
docs/samples.md |
Updated sidebar label from "Sample Catalog" to "Sample Projects". |
docs/the-complete-guide/part1/4-access-policy/4.1-model-level.md |
Added findMany method to list of methods under the "read" operation type. |
docs/the-complete-guide/part1/4-access-policy/4.8-delegate-to-relation.md |
Introduced concept of delegating access control to related models to maintain a declarative authorization model. |
docs/welcome.md |
Updated link from "Sample Catalog" to "Samples" in the "Other Resources" section. |
docs/the-complete-guide/part1/4-access-policy/4.8-keep-policies-dry.md |
Added new section on keeping access policies DRY by delegating access control to related models. |
docs/reference/server-adapters/nestjs.mdx |
Updated ZenStackModuleOptions interface to include an optional model parameter. |
Summary by CodeRabbit
New Features
check()
function in the Z-Model language to verify operation permissions on a field.ZenStackModuleOptions
interface in NestJS with an optionalmodel
parameter.Documentation
findMany
method to the list of "read" operation types.