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:
knottAutodesk
2024-01-06 16:43:51 -08:00
committed by GitHub
parent ae28f1266c
commit e6276190ad
@@ -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 */