Back

[CLOSED] How to save important data in a user database

  • 1
  • Web
  • Accounts
  • Locale
  • Self Hosted
  • Users
D5
28 May, 2023, 13:33

For not saying it's not recommended encrypting the database itself

TL;DR
The user is asking how to save important data in a user database. There is confusion about whether using 'users.*' would include all events, but it doesn't. The user tries different approaches but none of them work. It is suggested to use 'user.create' to trigger the function. The user discovers a bug where the function is not called on user creation. However, it is noted that encrypting the database itself is not recommended. The issue is closed without a solution provided.
Hexi
28 May, 2023, 13:34

hmm yeah and I found a bug? this should called aswell on creation right?

Hexi
28 May, 2023, 13:34

for functions

D5
28 May, 2023, 13:42

I think there's not any bug, It seems to be correct

Hexi
28 May, 2023, 13:42

Only deletion is triggered but when I register it doesnt start the function

Hexi
28 May, 2023, 13:42

so a create user event

D5
28 May, 2023, 13:42

Note that things like functions variable are encrypted

D5
28 May, 2023, 13:43

Because that's the only thing needed to be encrypted most cases

D5
28 May, 2023, 13:43

You need to put user.create

D5
28 May, 2023, 13:43

You didn't have selected it

Hexi
28 May, 2023, 13:43

it says user.*.create

D5
28 May, 2023, 13:44

The screenshot doesn't seems to show create

Hexi
28 May, 2023, 13:44

I mean with this as I tried this before

Hexi
28 May, 2023, 13:44

Its not triggered

D5
28 May, 2023, 13:45

This should trigger πŸ€”

D5
28 May, 2023, 13:45

Unless OAuth, I think

D5
28 May, 2023, 13:45

(Login with third party)

Hexi
28 May, 2023, 13:46

I used email

Hexi
28 May, 2023, 13:46

or does it be like this

Hexi
28 May, 2023, 13:46

let me try this

Hexi
28 May, 2023, 13:46

nope

Hexi
28 May, 2023, 13:47

but users.* will do all events aswell right? so then creation/register must be a trigger aswell but it doesnt

D5
28 May, 2023, 13:48

Not sure about that, if possible, please, create another post for this issue, in order to separate different topics πŸ˜…

Hexi
28 May, 2023, 13:48

alr will do

Hexi
28 May, 2023, 13:48

[CLOSED] How to save important data in a user database

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more