Minor typo fixes

This commit is contained in:
Scott Agirs 2020-03-04 09:19:49 -05:00 committed by GitHub
parent e222792181
commit c63662cd29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,11 +44,11 @@ We decided to change the policies naming convention to match with the future nam
- Global policy: `global::{policy}`.
- Plugin policy: `plugins::{pluginName}.{policy}`.
We are also introductin application naming so you can access an api policy easily or reference it absolutely when the context doesn't allow forto find out directly.
We are also introducing application naming so you can access an api policy more easily or reference it absolutely when the context otherwise wouldn't allow to find it directly.
You can now reference a policy located at `./api/{apiName}/config/policies/{policy}` with the following syntax: `{apiName}.{policy}`.
Although we do not recommend it (error prone), you can still access a local policy with the syntax `{policy}` . This syntax will only allow access to a policy declared in the api you are referencing it from. (e.g, polici in `restaurant` api and route in `restaurant` api only).
Although we do not recommend it (as it is error prone), you can still access a local policy with the syntax `{policy}` . This syntax will only allow access to a policy declared in the api you are referencing it from. (e.g, a policy in the `restaurant` api and a route in the `restaurant` api only).
## Rebuilding your administration panel