Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Describe format of an object/user and object/user id #883

Open
YarrikV opened this issue Nov 6, 2024 · 0 comments
Open

Describe format of an object/user and object/user id #883

YarrikV opened this issue Nov 6, 2024 · 0 comments

Comments

@YarrikV
Copy link

YarrikV commented Nov 6, 2024

The docs note the restrictions on the relations:

From here

In OpenFGA, relations can only have alphanumeric characters, underscores and hyphens. We recommend using underscore (_) to separate words and removing prepositions. E.g.: "can create a document" can become "can_create_document" or "create_document" if you are into brevity.

It would be helpful if the same kind of restrictions would be clarified on the other elements, such as the object type and identifier.

For example, you cannot use a ':' or '#' in the identifier, but I figured this out by trial-and-error. What other restrictions/limitations are there?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant