fsanyoto commited on
Commit
d8ab155
·
verified ·
1 Parent(s): caba041

Deploy AIOS web (React glide grid + FastAPI slice)

Browse files
RELEASES.json CHANGED
@@ -1,4 +1,4 @@
1
  {
2
- "current": "12234446",
3
  "releases": []
4
  }
 
1
  {
2
+ "current": "834c9dd0",
3
  "releases": []
4
  }
VERSION CHANGED
@@ -1 +1 @@
1
- 12234446
 
1
+ 834c9dd0
api/routes_sheet.py CHANGED
@@ -4142,15 +4142,17 @@ def _drill_mirror(session, database, window, needed, databases):
4142
 
4143
  sources = _drill_tokens(session, databases)
4144
  token = sheet_binding.fingerprint(sources) if all(sources.values()) else None
4145
- # Older deployments have no wall_stamp. The full permission snapshot also includes pool
4146
- # scope and field grants, so a changed wall for the same username cannot hit the old entry.
4147
  wall = None
4148
  stamp = getattr(perm_scope, "wall_stamp", None)
4149
  if callable(stamp):
4150
  try:
4151
- wall = stamp(session.user, database, st=session.runtime)
4152
  except Exception:
4153
  pass
 
 
4154
  reader = sheet_binding.fingerprint([session.user, wall,
4155
  getattr(session.runtime.tenant, "config", None)])
4156
  key = (session.tenant, session.uname, database, token, reader,
 
4142
 
4143
  sources = _drill_tokens(session, databases)
4144
  token = sheet_binding.fingerprint(sources) if all(sources.values()) else None
4145
+ # C1 also fingerprints derived wall sources, which can change without the primary table.
4146
+ # An unavailable stamp must cost a rebuild, never reuse a mirror with unknown permissions.
4147
  wall = None
4148
  stamp = getattr(perm_scope, "wall_stamp", None)
4149
  if callable(stamp):
4150
  try:
4151
+ wall = stamp(session.tenant, session.uname, database, user=session.user)
4152
  except Exception:
4153
  pass
4154
+ if not wall:
4155
+ token = None
4156
  reader = sheet_binding.fingerprint([session.user, wall,
4157
  getattr(session.runtime.tenant, "config", None)])
4158
  key = (session.tenant, session.uname, database, token, reader,
web/public/AIOS_DEPLOY_RECEIPT CHANGED
@@ -1 +1 @@
1
- 631c1862b2f9b77364f503c648e818b1aa6054bada20848f62f9a25a9388ce07
 
1
+ 5beb6fa27d7f0ab698091d323598721216b17c24919acb6828a1f4176ed99b43