alpha
Login
or
Join now
xcc.es
/
yetki
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
[READ-ONLY] Mirror of https://github.com/mrgnw/yetki. Entitlements and access grants for apps on Cloudflare D1. Companion to d1dash. POC.
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
yetki
/
src
/
db
2 files
at
main
Morgan Williams
v0.0.2: drop users table ownership, default prefix yetki_
3mo ago
422a69f6
d1.test.ts
v0.0.2: drop users table ownership, default prefix yetki_ Modularity fix: yetki no longer creates its own 'users' table or foreign- key references to one. Identity lives in the app (or anahtar), and yetki references user_id as a plain TEXT column. - Default tablePrefix is now 'yetki_' (was '') so tables are: yetki_roles, yetki_subscriptions, yetki_purchases, yetki_grants - d1Adapter accepts usersTable / usersIdColumn / usersDisplayColumn (defaults: auth_users / id / email — anahtar-friendly) to populate the d1dash descriptor's entity pointer - getUser removed from YetkiAdapter (yetki doesn't own users) - buildDescriptor now takes DescriptorOptions instead of a bare prefix - Tests updated; new integration.test.ts validates the full d1dash flow (init -> execute mark_internal SQL from the descriptor -> resolveAccess reflects flags.internal=true) - Added README section on the identity-ownership boundary
3 months ago
d1.ts
v0.0.2: drop users table ownership, default prefix yetki_ Modularity fix: yetki no longer creates its own 'users' table or foreign- key references to one. Identity lives in the app (or anahtar), and yetki references user_id as a plain TEXT column. - Default tablePrefix is now 'yetki_' (was '') so tables are: yetki_roles, yetki_subscriptions, yetki_purchases, yetki_grants - d1Adapter accepts usersTable / usersIdColumn / usersDisplayColumn (defaults: auth_users / id / email — anahtar-friendly) to populate the d1dash descriptor's entity pointer - getUser removed from YetkiAdapter (yetki doesn't own users) - buildDescriptor now takes DescriptorOptions instead of a bare prefix - Tests updated; new integration.test.ts validates the full d1dash flow (init -> execute mark_internal SQL from the descriptor -> resolveAccess reflects flags.internal=true) - Added README section on the identity-ownership boundary
3 months ago