Skip to content

Remove ModifyConversationHistory action#5027

Merged
pcapriotti merged 2 commits intodevelopfrom
history-permission
Feb 17, 2026
Merged

Remove ModifyConversationHistory action#5027
pcapriotti merged 2 commits intodevelopfrom
history-permission

Conversation

@pcapriotti
Copy link
Contributor

@pcapriotti pcapriotti commented Feb 13, 2026

When history metadata was introduced, we added a new ModifyConversationHistory constructor for the Action type, corresponding to the permission of modifying the conversation history settings.

However, this broke API compatibility, since we are returning a list of permissions in a conversation endpoint.

This PR reuses the ModifyConversationAccess action permission instead. Permissions are only used internally and don't really affect the behaviour of the backend, anyway.

https://wearezeta.atlassian.net/browse/WPB-20802

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines

@pcapriotti pcapriotti marked this pull request as ready for review February 13, 2026 13:04
@pcapriotti pcapriotti requested review from a team as code owners February 13, 2026 13:04
@pcapriotti pcapriotti force-pushed the history-permission branch 3 times, most recently from ebf282e to b0d0788 Compare February 13, 2026 15:09
This broke API compatibility. Instead, reuse ModifyConversationAccess
action permission. Permissions are only used internally and don't really
affect the behaviour of the backend, anyway.
@pcapriotti pcapriotti added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Feb 16, 2026
@pcapriotti pcapriotti merged commit e28cf87 into develop Feb 17, 2026
10 checks passed
@pcapriotti pcapriotti deleted the history-permission branch February 17, 2026 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants