authzed / playground

Playground for SpiceDB, the open source, Google Zanzibar-inspired permissions database to enable fine-grained access control for customer applications
https://play.authzed.com
Apache License 2.0
37 stars 6 forks source link

Support intersection arrow syntax in playground #16

Open tstirrat15 opened 2 months ago

tstirrat15 commented 2 months ago

Description

Copy and paste this schema in:

definition user {}

definition group {
    relation user: user

    permission view = user
}

definition thing {
    relation group: group

    permission view = group.all(view)
}

See that you get:

Expected end of statement or definition, found: TokenTypePeriod

Note

This is a known issue; we have a beta that we're testing with it now.