koakh / NestJs9SurrealDbDynamicModule

nestjs dynamic module on top of surreadb.js driver, with rest and graphql consumer app, dataloaders, base resolvers, services, dtos, entities etc
4 stars 0 forks source link

How the surrealdb permissions works #1

Open cetsupport opened 1 year ago

cetsupport commented 1 year ago

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 commented 1 year ago

Hello

I'm not the right person to answer

Why don't ask it on our discord channel?

We have awesome community, and sure your answer is addressed...and will help others to

I must know the inners of surrealdb low level, and I don't have that knowledge for a good anwear.

Koakh

⁣Get BlueMail for Android ​

On Oct 25, 2022, 13:54, at 13:54, cetsupport @.***> wrote:

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.

-- Reply to this email directly or view it on GitHub: https://github.com/koakh/NestJs9SurrealDbDynamicModule/issues/1 You are receiving this because you are subscribed to this thread.

Message ID: @.***>