move ACL to Dict field

This commit is contained in:
evilchili
2025-10-07 23:30:23 -07:00
parent 2064890ea5
commit b395940d2d
2 changed files with 19 additions and 29 deletions
-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)