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

DXCDT-428: User permissions resource #578

Merged
merged 8 commits into from
May 12, 2023

Conversation

willvedd
Copy link
Contributor

@willvedd willvedd commented May 11, 2023

🔧 Changes

Introducing the auth0_user_permissions resource which enables management of all user permissions in a single block.

Unlike the auth0_user_permission resource (#574) which manages on a per-permission basis, this resource manages all of a users' permissions. In addition to offering a flexible way of expressing user permissions, out-of-band changes can be observed with a single import command rather than multiple imports per permission.

📚 References

🔬 Testing

Added variety of integration tests.

📝 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)

@willvedd willvedd requested a review from a team as a code owner May 11, 2023 19:28
@codecov-commenter
Copy link

Codecov Report

Merging #578 (56a5447) into main (577845c) will decrease coverage by 0.18%.
The diff coverage is 74.63%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #578      +/-   ##
==========================================
- Coverage   87.71%   87.54%   -0.18%     
==========================================
  Files          65       66       +1     
  Lines       10114    10252     +138     
==========================================
+ Hits         8872     8975     +103     
- Misses        936      964      +28     
- Partials      306      313       +7     
Impacted Files Coverage Δ
internal/provider/provider.go 100.00% <ø> (ø)
internal/auth0/user/resource_permissions.go 74.63% <74.63%> (ø)

@willvedd willvedd requested a review from sergiught May 12, 2023 16:09
Copy link
Contributor

@sergiught sergiught left a comment

Choose a reason for hiding this comment

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

Nice one 💪🏻

@willvedd willvedd enabled auto-merge (squash) May 12, 2023 17:37
@willvedd willvedd merged commit f7ea5cb into main May 12, 2023
@willvedd willvedd deleted the DXCDT-428-user-permissions-relationship-resource branch May 12, 2023 17:39
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