dendrite/syncapi/storage/sqlite3
Giuseppe Rodriguez 7d6ffad2de Audit Fixes 1 - Removes OZ Ownable from Space contract and makes checks for space token ownership to see if caller is space owner (#1424)
Removing the OpenZeppelin ownership logic, and, checking directly for
the ownership of the Space’s SpaceOwner NFT. The SpaceFactory could be
the owner during the bootstrapping phase, and afterwards, could transfer
the NFT to the proper owner. Doing a direct check like
_spaceOwner().ownerOf(tokenId) == _msgSender() would be safe because
that’s what the owner entitlement is going to check eventually.

---------

Co-authored-by: Kerem Kazan <kerem.kazan@gmail.com>
2023-02-07 15:57:39 -08:00
..
deltas Implement history visibility on /messages, /context, /sync (#2511) 2022-08-11 18:23:35 +02:00
account_data_table.go Audit Fixes 1 - Removes OZ Ownable from Space contract and makes checks for space token ownership to see if caller is space owner (#1424) 2023-02-07 15:57:39 -08:00
backwards_extremities_table.go Consistent *sql.Tx usage across sync API (#2744) 2022-09-28 10:18:03 +01:00
current_room_state_table.go subtree pull from dendrite fork for fix #2383 (#802) 2022-11-02 16:28:06 -07:00
filter_table.go Consistent *sql.Tx usage across sync API (#2744) 2022-09-28 10:18:03 +01:00
filtering.go subtree pull from dendrite fork for fix #2383 (#802) 2022-11-02 16:28:06 -07:00
ignores_table.go More writer fixes in the Sync API 2022-09-09 13:06:42 +01:00
invites_table.go Jterzis/update dendrite (#656) 2022-10-17 15:59:47 -07:00
memberships_table.go Sync dendrite fork changes for gating, and single chain support (#778) 2022-11-01 11:09:34 -07:00
notification_data_table.go Consistent *sql.Tx usage across sync API (#2744) 2022-09-28 10:18:03 +01:00
output_room_events_table.go subtree pull from dendrite fork for fix #2383 (#802) 2022-11-02 16:28:06 -07:00
output_room_events_topology_table.go Consistent *sql.Tx usage across sync API (#2744) 2022-09-28 10:18:03 +01:00
peeks_table.go Consistent *sql.Tx usage across sync API (#2744) 2022-09-28 10:18:03 +01:00
presence_table.go Limit presence in /sync responses (#2394) 2022-04-28 15:12:40 +01:00
receipt_table.go Consistent *sql.Tx usage across sync API (#2744) 2022-09-28 10:18:03 +01:00
relations_table.go Jterzis/update dendrite (#656) 2022-10-17 15:59:47 -07:00
send_to_device_table.go Index on syncapi_send_to_device table (#2684) 2022-08-30 14:47:54 +01:00
stream_id_table.go Jterzis/update dendrite (#656) 2022-10-17 15:59:47 -07:00
syncserver.go Jterzis/update dendrite (#656) 2022-10-17 15:59:47 -07:00