Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show permissions error on KV when you don't have access to create a s…
…ecret (#8133) * add catch for fail on save. isError is not being set to true, so set it in the catch * add conditionally to only catch 403 permission errors. Otherwise it will catch and return an unhelpful error message for when you are trying to save a duplicate secret * add in code comment * remove catch and pass version 2 secret model to Error handler inside template * replace Error model with modelForData to catch errors on the correct model * add back in space * replace error model with modelForData
- Loading branch information