A new update_privacy action in the LinksController
Updates to the LinkSerializer to include the private attribute
New tests in the links_request_spec to cover privacy functionality
Updates to the README
What are the relevant tickets
closes #30
Testing
Unit tests for the update_privacy action in the LinksController
Integration tests for the privacy update endpoint
Tests to ensure private links are not accessible to unauthorized users
Tests to verify private links are excluded from top links listing
Checklist
[x] The code follows the project's coding standards.
[x] Unit tests have been added or updated to cover the changes.
[x] Documentation has been updated to reflect the changes.
[x] The code compiles without errors.
[x] The changes have been tested locally and pass all relevant tests.
[x] All new and existing tests pass.
[ ] The pull request has been reviewed by at least one other contributor.
Reviewer Instructions
logic in the LinksController
not sure if we want to pass the message I am currently passing when a links privacy is updated, I could see us wanting to pass the link object back, sending a message is what made most sense to me at the moment
Deployment Notes
we will need to run the migration after this is deployed
Description of Changes
update_privacy
action in the LinksControllerprivate
attributeWhat are the relevant tickets
closes #30
Testing
update_privacy
action in the LinksControllerChecklist
Reviewer Instructions
Deployment Notes
we will need to run the migration after this is deployed