Skip to content
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

Merged
merged 2 commits into from
Mar 13, 2023

Conversation

sergiught
Copy link
Contributor

🔧 Changes

Improves the documentation we have for the auth0_role.permissions to explicitly call out that permission name can be referenced from the auth0_resource_server scope value property.

📚 References

🔬 Testing

📝 Checklist

  • All new/changed/fixed functionality is covered by tests (or N/A)
  • I have added documentation for all new/changed functionality (or N/A)

@codecov-commenter
Copy link

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (76cd907) 85.36% compared to head (b10fbf1) 85.37%.

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           
Impacted Files Coverage Δ
internal/auth0/role/resource.go 80.23% <100.00%> (+0.36%) ⬆️

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.
📢 Do you have feedback about the report comment? Let us know in this issue.

@sergiught sergiught changed the title Update docs for auth0_role permissions issue#520: Update docs for auth0_role permissions Mar 12, 2023
@sergiught sergiught marked this pull request as ready for review March 13, 2023 14:23
@sergiught sergiught requested a review from a team as a code owner March 13, 2023 14:23
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`.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"e.g. `auth0_resource_server.my_resource_server.scopes[0].value`.",
"for example `auth0_resource_server.my_resource_server.scopes[0].value`.",

Copy link
Contributor

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.

@@ -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`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- `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.

@sergiught sergiught requested a review from Widcket March 13, 2023 16:06
@sergiught sergiught merged commit 7f97868 into main Mar 13, 2023
@sergiught sergiught deleted the issue#520/auth0_role-permissions-docs branch March 13, 2023 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants