SWA function level `admin` not allowed?
- Dominant language
- No language data
- Stars
- 346
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
Why am I getting an error about `admin` level auth not allowed? I'm trying to find the doc that let's me know why?
* [GitHub action run](https://github.com/dfberry/github-who/runs/4647180863?check_suite_focus=true)
* error: `the file 'status/function.json' specifies an invalid authLevel. Allowed authLevels: anonymous, function.`
```text
> api@1.0.0 build /github/workspace/api
> npm run clean && tsc
> api@1.0.0 clean /github/workspace/api
> npm cache clean --force
npm WARN using --force I sure hope you know what you are doing.
Copy '/github/workspace/api/node_modules' with all dependencies to '/github/workspace/api/.oryx_all_node_modules'...
Copying production dependencies from '/github/workspace/api/.oryx_prod_node_modules/node_modules' to '/github/workspace/api/node_modules'...
Preparing output...
Copying files to destination directory '/bin/staticsites/ss-oryx/api'...
Done in 1 sec(s).
Removing existing manifest file
Creating a manifest file...
Manifest file created.
Done in 16 sec(s).
---End of Oryx build logs---
Function Runtime Information. OS: linux, Functions Runtime: ~3, node version: 12
Finished building function app with Oryx
Error in processing api build artifacts: the file 'status/function.json' specifies an invalid authLevel. Allowed authLevels: anonymous, function.
For further information, please visit the Azure Static Web Apps documentation at https://docs.microsoft.com/en-us/azure/static-web-apps/
If you believe this behavior is unexpected, please raise a GitHub issue at https://github.com/azure/static-web-apps/issues/
Exiting
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.