Skip to content

Fix TAXII2 collection can_read and can_write#292

Merged
eric-eclecticiq merged 12 commits into
masterfrom
fix-collection-can-read-write
Dec 9, 2025
Merged

Fix TAXII2 collection can_read and can_write#292
eric-eclecticiq merged 12 commits into
masterfrom
fix-collection-can-read-write

Conversation

@eric-eclecticiq
Copy link
Copy Markdown
Contributor

@eric-eclecticiq eric-eclecticiq commented Dec 8, 2025

  1. A missing account would return None that is not a boolean thus not compliant with TAXII 2 Collection specs. taxii2client would raise a validation error.
  2. Add tests and types
  3. Move can_read and can_write from entity Account to TAXII1 collection
  4. Fix sqldb Account permissions setter to accept TAXII2 permissions
  5. permissions keys must be a string as once serialized to the DB the UUID knowledge is lost

Others:

  1. Class name change oversight: Fix UUID json serialization #289 (comment)
  2. Fix docker build deprecation: LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format

@eric-eclecticiq eric-eclecticiq requested a review from saaj December 9, 2025 08:34
Comment thread opentaxii/auth/sqldb/models.py Outdated
@eric-eclecticiq eric-eclecticiq merged commit 5ea64ac into master Dec 9, 2025
7 checks passed
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