Skip to content

Commit

Permalink
docs fixes for vale (#5320)
Browse files Browse the repository at this point in the history
* docs fixes for vale

* one more docs fix
  • Loading branch information
ajtmccarty authored Dec 24, 2024
1 parent daf5d1b commit 3af41fa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .vale/styles/spelling-exceptions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ schema_mapping
sdk
subcommand
subnet
subtyping
Subtyping
template_path
toml
Towncrier
Expand All @@ -123,5 +125,6 @@ Version Control
Vitest
Yaml
yamllint
YouTube
vscode
VSCode
4 changes: 2 additions & 2 deletions docs/docs/topics/auth.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ If Infrahub is setup to allow anonymous access when it is first initialized, an
| Permission | Description |
|-------------------------------------|--------------------------------------------------------------------------------------------------------------|
| `object:*:*:any:deny` | Denies anything on all objects, across all branches (this one is not required, but it is more explicit) |
| `object:*:*:view:allow_all` | llows seeing all objects, across all branches and namespaces. |
| `object:*:*:view:allow_all` | Allows seeing all objects, across all branches and namespaces. |

The role is defined by its name in Infrahub's configuration and can be adjusted by changing the setting `main.anonymous_access_role` or the environment variable `INFRAHUB_ANONYMOUS_ACCESS_ROLE`.

Note that an anonymous user will never be able to make changes to data inside Infrahub whether the role's permisssions allow it or not.
Note that an anonymous user will never be able to make changes to data inside Infrahub whether the role's permissions allow it or not.

## Authentication backends

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/topics/developer-guide.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Protocols for all objects natively provided by Infrahub are available within the
##### Learn More about Python Protocols

- [Python Protocols: Leveraging Structural Subtyping - Real Python](https://realpython.com/python-protocol/)
- [What are "Protocols" In Python? - Youtube](https://www.youtube.com/watch?v=2jN11lyKvfA)
- [What are "Protocols" In Python? - YouTube](https://www.youtube.com/watch?v=2jN11lyKvfA)

#### Git integration

Expand Down Expand Up @@ -125,7 +125,7 @@ log.info("This log will be captured within the task")
### Configuring Additional Loggers

To capture logs from additional loggers, configure them using the environment variable `INFRAHUB_WORKFLOW_EXTRA_LOGGERS`.
The level of the extra loggers can be controled with the environment variable `INFRAHUB_WORKFLOW_EXTRA_LOG_LEVEL`.
The level of the extra loggers can be controlled with the environment variable `INFRAHUB_WORKFLOW_EXTRA_LOG_LEVEL`.

```shell
export INFRAHUB_WORKFLOW_EXTRA_LOGGERS = '["mylogger", "otherlogger"]'
Expand Down

0 comments on commit 3af41fa

Please sign in to comment.