-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue#520: Update docs for auth0_role permissions #524
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #524 +/- ##
=======================================
Coverage 85.36% 85.37%
=======================================
Files 75 75
Lines 9923 9926 +3
=======================================
+ Hits 8471 8474 +3
Misses 1147 1147
Partials 305 305
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
internal/auth0/role/resource.go
Outdated
Description: "Name of the permission (scope) configured on the resource server. " + | ||
"If referencing a scope from an `auth0_resource_server` resource, " + | ||
"use the `value` property, " + | ||
"e.g. `auth0_resource_server.my_resource_server.scopes[0].value`.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"e.g. `auth0_resource_server.my_resource_server.scopes[0].value`.", | |
"for example `auth0_resource_server.my_resource_server.scopes[0].value`.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docs guidelines specify not to use latin abbreviations.
docs/resources/role.md
Outdated
@@ -68,7 +68,7 @@ resource "auth0_role" "my_role" { | |||
|
|||
Required: | |||
|
|||
- `name` (String) Name of the permission (scope). | |||
- `name` (String) Name of the permission (scope) configured on the resource server. If referencing a scope from an `auth0_resource_server` resource, use the `value` property, e.g. `auth0_resource_server.my_resource_server.scopes[0].value`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- `name` (String) Name of the permission (scope) configured on the resource server. If referencing a scope from an `auth0_resource_server` resource, use the `value` property, e.g. `auth0_resource_server.my_resource_server.scopes[0].value`. | |
- `name` (String) Name of the permission (scope) configured on the resource server. If referencing a scope from an `auth0_resource_server` resource, use the `value` property, for example `auth0_resource_server.my_resource_server.scopes[0].value`. |
Docs guidelines specify not to use latin abbreviations.
🔧 Changes
Improves the documentation we have for the
auth0_role.permissions
to explicitly call out that permission name can be referenced from theauth0_resource_server
scope value property.📚 References
🔬 Testing
📝 Checklist