openfga / api

Protocol Buffers used by OpenFGA
Apache License 2.0
18 stars 10 forks source link

Character # and @ should be disallowed for type and relation name #40

Closed adriantam closed 1 year ago

adriantam commented 1 year ago

The character # and @ should be disallowed for type and relation name. Otherwise, it will cause confusion when evaluate for check. Note that # is used to indicate tuple to userset.

adriantam commented 1 year ago

Actually, I am mistaken - it currently prohibits # and @ https://github.com/openfga/api/blob/064117fe8a1c2316bbed7bb4316ed3058504014b/openfga/v1/openfga_service.proto#L785