Update authorizing-parameters-steps-and-actions.md
debug:log is causing markdown rendering issues - it should be enclosed in back-ticks. Signed-off-by: knottAutodesk <143034967+knottAutodesk@users.noreply.github.com>
This commit is contained in:
@@ -128,10 +128,10 @@ class ExamplePermissionPolicy implements PermissionPolicy {
|
||||
}
|
||||
```
|
||||
|
||||
With this permission policy, the user `spiderman` won't be able to execute the debug:log action.
|
||||
With this permission policy, the user `spiderman` won't be able to execute the `debug:log` action.
|
||||
|
||||
You can also restrict the input provided to the action by combining multiple rules.
|
||||
In the example below, `spiderman` won't be able to execute debug:log when passing `{ "message": "not-this!" }` as action input:
|
||||
In the example below, `spiderman` won't be able to execute `debug:log` when passing `{ "message": "not-this!" }` as action input:
|
||||
|
||||
```ts title="packages/backend/src/plugins/permission.ts"
|
||||
/* highlight-add-start */
|
||||
|
||||
Reference in New Issue
Block a user