Skip to content

Conversation

adrianhall
Copy link
Collaborator

BREAKING CHANGE

  • PUT table/{id} calls the access control provider with an existing entity rather than the (incomplete) new entity from the user.
  • Added a modifiable access control provider and endpoint to test authorization providers in the test server.
  • Test added to Replace_Tests.cs for using the access control provider.

@adrianhall adrianhall requested a review from Copilot January 6, 2025 15:42
@adrianhall adrianhall self-assigned this Jan 6, 2025
@adrianhall adrianhall added this to the 8.0.5 milestone Jan 6, 2025
@adrianhall adrianhall closed this Jan 6, 2025
@adrianhall adrianhall reopened this Jan 6, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 5 out of 8 changed files in this pull request and generated no comments.

Files not reviewed (3)
  • tests/CommunityToolkit.Datasync.Server.Test/Helpers/BaseTest.cs: Evaluated as low risk
  • tests/CommunityToolkit.Datasync.Server.Swashbuckle.Test/Swashbuckle_Tests.cs: Evaluated as low risk
  • src/CommunityToolkit.Datasync.Server/Controllers/TableController.Replace.cs: Evaluated as low risk

@adrianhall
Copy link
Collaborator Author

Closes #171

@adrianhall adrianhall linked an issue Jan 6, 2025 that may be closed by this pull request
@adrianhall adrianhall merged commit c6613e4 into CommunityToolkit:main Jan 6, 2025
5 checks passed
@adrianhall adrianhall deleted the issues/171 branch January 6, 2025 15:47
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.

AccessControlProvider does not receive correct entity

1 participant