https://authzed.com logo
Join Discord
Powered by
# spicedb
  • Hello folks πŸ‘‹
    p

    pepegar

    07/01/2025, 7:47 AM
    Hello folks πŸ‘‹ I'm facing an strange behaviour in SpiceDB. I've SpiceDB 1.31.0 running,a nd when querying a lookupSubjects with a limit: 1. the limit is ignored 2. it never returns a cursor that I can use to paginate. In my case, spicedb contains 10 records that would match the query, and when I pass a limit 5, it returns all 10 of them without a cursor instead of returning 5 and a cursor to keep going. Is it expected behaviour? I'm not seeing that with lookupResources for example Thx so much! (Investigating more, it seems that zed cli doesn't document --page-limit for lookup-subjects, but it does for lookup-resources; on top of that, on the protobuf docs, both seem to accept the optional_concrete_limit param https://buf.build/authzed/api/docs/main:authzed.api.v1#authzed.api.v1.LookupSubjectsRequest)
    y
    • 2
    • 8
  • k

    kartikay

    07/02/2025, 1:52 PM
    checking on this, we may also extend the deprecation to permissions and subjects, I have put my thoughts in the comments of the PR, you guys can take a look whenever you are free.
  • For anyone using typescript & spicedb,
    c

    canadaduane

    07/02/2025, 5:37 PM
    For anyone using typescript & spicedb, we just published an open source library that parses & semantically analyzes the .zed file format. The niche it fills for us is allowing us to codegen a type-safe SDK for our SchoolAI app, based directly upon our current schema.zed file. The suggested typescript SDK code generator is completely optional, but shows a path if you want to do something similar. https://www.npmjs.com/package/@schoolai/spicedb-zed-schema-parser
    y
    • 2
    • 3
  • I want to update schema in spice but it
    d

    deepak

    07/03/2025, 5:20 AM
    I want to update schema in spice but it want to delete old relationships also, I any best practice avaiable for do so in genric way.
    y
    • 2
    • 1
  • Grafana dashboards
    h

    heytrav

    07/03/2025, 5:47 AM
    Greetings all! Would any of you nice folks here be able to point me to or share some cool grafana dashboards and possibly some alerts manager-like alerts for spicedb?
    m
    • 2
    • 1
  • Hi everyone,
    a

    Abhishek

    07/03/2025, 8:34 AM
    Hi everyone, I wanted understand which schema is more performant for lookUpResource,lookUpSubjects and permissionCheck queries. scheam 1: definition user {} definition platform { relation administrator: user permission super_admin = administrator } definition organization { relation org_administrator: platform | user permission org_admin = org_administrator + org_administrator->super_admin } definition partner { relation admin: user | organization relation manager: user relation staff: user permission view_ledger = admin + admin->org_admin + manager + staff permission edit_ledger = admin + admin->org_admin + manager } schema 2: definition user {} definition platform { relation administrator: user } definition organization { relation platform_admins: platform#administrator | user relation org_members : user } definition partner { relation admin: organisaton#platform_admins | user relation manager: user relation staff: user relation viewer : organization#org_member | user permission view_ledger = admin + manager + staff + viewer permission edit_ledger = admin + manager }
    y
    • 2
    • 3
  • s

    Sohan

    07/03/2025, 9:09 AM
    Heya. @yetitwo and myself will be on livestream later today (July 3) to talk about observability, spicedb and datadog. Link is in the Events tab on Discord ↖️
  • pkg.go.dev incorrectly marking zed v1.14.0 as the latest
    e

    ensonic

    07/03/2025, 10:22 AM
    I think the go website will only update if you release v0.30.3 (or newer) for zed package
    m
    • 2
    • 3
  • s

    Sohan

    07/03/2025, 4:03 PM
    we're live!

    https://www.youtube.com/watch?v=OZBJw-OsHfgβ–Ύ

  • e

    ensonic

    07/04/2025, 10:01 AM
    How do I get
    zed validate
    to give me a line number?
  • e

    ensonic

    07/04/2025, 10:15 AM
    it does for a zed file, but not for a .yaml file
  • y

    yetitwo

    07/05/2025, 6:34 PM
    are you talking about validation errors/warnings for the schema, or are you talking about assertions in the validation file?
  • hello. We have copied our postgress db
    y

    Yaroslav

    07/07/2025, 10:12 AM
    hello. We have copied our postgress db to new one and used it for spice db. After it we receive "unexpected consistency middleware error" errors, how can i fix it? i tried to restart spicedb app, tried to update schema, but it didnt help(
    y
    • 2
    • 11
  • GitHub - mejaz/spicedb-ui: A modern web ...
    m

    mohdejazsiddiqui

    07/07/2025, 1:17 PM
    Hi! I was looking for a UI to manage SpiceDB β€” something that could help visualize the schema, manage entities and permissions more easily. Since I couldn’t find a full-featured one, I went ahead and built a basic UI using the SpiceDB APIs. It’s still early-stage and minimal, but functional. πŸ”— https://github.com/mejaz/spicedb-ui
    y
    • 2
    • 3
  • e

    ensonic

    07/07/2025, 5:50 PM
    There was a formatting error (used
    :
    instead of
    =
    in a relations) , but not line nr on the error, which is fun on a long file
  • y

    yetitwo

    07/07/2025, 5:52 PM
    ahhh yeah that's not ideal. we're dropping that context somewhere. i'll add an issue to the repo.
  • y

    yetitwo

    07/07/2025, 6:18 PM
    clarification: is this with the
    schema:
    key or with the
    schemaFile:
    key?
  • y

    yetitwo

    07/07/2025, 6:18 PM
    https://github.com/authzed/zed/issues/529
  • e

    ensonic

    07/07/2025, 6:43 PM
    I'll add the example tomorrow when I am back at work
  • y

    yetitwo

    07/07/2025, 7:18 PM
    thank you!
  • Hello All , I am tring to WATCH spicedb
    a

    Arvind

    07/08/2025, 6:14 AM
    Hello All , I am tring to WATCH spicedb using java authz api version 1.3 , using streaming .. when I connect to local spicedb works which is over http but when I connect to devbox exposed over ssl its not getting data , I check server cert and imported to application but still its failing , i can see TLS1.3 is used and hanshake is success
    y
    • 2
    • 1
  • Hello Guys.
    r

    Rodolfo

    07/08/2025, 1:13 PM
    Hello Guys. I have a slight problem in production where my pods are restarting due to a` invalid memory address or nil pointer dereference` 🧡
    y
    m
    • 3
    • 26
  • d

    DominikGuhr

    07/09/2025, 10:26 AM
    Hey folks. A rather broad question: Is there any effort ongoing to help openID authZEN or to support the implementers draft? Context: I've just checked out

    https://www.youtube.com/watch?v=MTAXC0ZaXcEβ–Ύ

    and found it very fitting, esp. with the bulk calls they add in draft 1.1
  • d

    DominikGuhr

    07/09/2025, 11:59 AM
    nvm, just found https://discord.com/channels/844600078504951838/900405749405089812/1359904145422815323 - let's put it that way: I understand the "little traction" argument, but i'd love an open standard and customers should, too πŸ˜‰
  • n

    nemosupremo

    07/11/2025, 1:59 AM
    Hi, I am on a very old version of spicedb (1.13) + mysql8. I'm trying to figure out what i need to do to upgade, but it seems like the only way is checking all the github releases? Basically I want to know if I can just upgrade to the latest and migrate, or are there any major "stepping stones" I need to upgrade to first?
  • j

    Joey

    07/11/2025, 2:19 AM
    are you using any of the experimental APIs or the old V0 API?
  • n

    nemosupremo

    07/11/2025, 2:20 AM
    github.com/authzed/authzed-go/proto/authzed/api/v0
    is the v0 api? we aren't using it
  • n

    nemosupremo

    07/11/2025, 2:20 AM
    and no experimental apis
  • j

    Joey

    07/11/2025, 2:22 AM
    then it should be safe, minus some flags that we've removed. I'd recommend backing up your datastore entirely, then trying the migration on a copy
  • j

    Joey

    07/11/2025, 2:22 AM
    if that works without issues, then upgrade the real install