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
2 changes: 1 addition & 1 deletion packages/cli/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function createProgram() {
.description(
`${colors.bold.blue(
'ζ',
)} ZenStack is the data layer for modern TypeScript apps.\n\nDocumentation: https://zenstack.dev/docs/3.x`,
)} ZenStack is the modern data layer for TypeScript apps.\n\nDocumentation: https://zenstack.dev/docs`,
)
.showHelpAfterError()
.showSuggestionAfterError();
Expand Down
4 changes: 2 additions & 2 deletions packages/plugins/policy/plugin.zmodel
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ attribute @@deny(_ operation: String @@@completionHint(["'create'", "'read'", "'
// attribute @deny(_ operation: String @@@completionHint(["'create'", "'read'", "'update'", "'delete'", "'all'"]), _ condition: Boolean)

/**
* Checks if the current user can perform the given operation on the given field.
* Delegates the access control decision to a relation. Only to-one relations are supported.
*
* @param field: The field to check access for
* @param field: The relation field to delegate to.
* @param operation: The operation to check access for. Can be "read", "create", "update", "post-update", or "delete". If the operation is not provided,
* it defaults the operation of the containing policy rule.
*/
Expand Down