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

How the surrealdb permissions works #1

Open
cetsupport opened this issue Oct 25, 2022 · 1 comment
Open

How the surrealdb permissions works #1

cetsupport opened this issue Oct 25, 2022 · 1 comment

Comments

@cetsupport
Copy link

Hi, Dear Koakh:

Surrealdb is fantastic cloud database, but really lack of detail document. Recently I'm study the permission sub-system of surrealdb. Finally got one form your gist.

Do you mind I ask a question?

When you initial surrealdb at phase create table user, you written:

PERMISSIONS FOR select WHERE id = $auth.id,

May I know how the $auth.id been assigned? If you can explain in depth, much appreciate!

Thank you very much.

@koakh
Copy link
Owner

koakh commented Oct 25, 2022 via email

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

2 participants