move ACL to Dict field

This commit is contained in:
evilchili committed 2025-10-07 23:30:23 -07:00
1 parent 2064890ea5
commit b395940d2d
2 files changed
+19 -29

No files matched your search

-1
View File
@@ -58,7 +58,6 @@ def test_permissions(app):
# set to rw, no delete
notes.set_permissions(players, [schema.Permissions.READ, schema.Permissions.WRITE])
notes = app.db.Page.get(doc_id=notes.doc_id)
assert players.can_read(notes)
assert players.can_write(notes)
assert not players.can_delete(notes)