Rank 2: Process
wow, this is odd. now the form is completely different. The create team form had email, name, and roles fields, now it just has name.
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 2: Process
wow, this is odd. now the form is completely different. The create team form had email, name, and roles fields, now it just has name.
Rank 2: Process
in the console
Admin
You were looking at the wrong spot before...there's create team and create team membership
Rank 2: Process
ah okay, now I get it, it gives that error if the email isn't a valid user. "Project registration is restricted" is a bit confusing error message.
Admin
I actually think that error is because you have a limit on number of users in your project
Rank 2: Process
it should work through the console right?
Rank 2: Process
it does work with a valid email though
Rank 2: Process
it has a message there next to the limit setting saying it should work in the console
Admin
i think it should, yes
Admin
what do you mean?
Rank 2: Process
in the create membership form, if the email isn't a valid email of a registered user, it gives that error message
Rank 2: Process
i should change the title, it is the create membership
Admin
what do you mean by valid?
Rank 2: Process
Project registration is restricted when creating a team membership
Rank 2: Process
an existing user registered with that email address
Admin
i see. yes. the create membership API will create a user if you specify an email that doesn't exist. and since there's a user limit, you see an error
Rank 2: Process
hmm
Admin
that said, just like how you can create a user even if you're over the user limit, i think the create membership should still work with an email that doesn't exist and it should create the user
Rank 2: Process
yeah if it's done through the console
Admin
yes, through console or via api key.
Would you be able to create an issue on GitHub so that we don't lose track of this?
Rank 2: Process
sure, will do
Rank 2: Process
curious, what happens with the password etc of a user created this way?
Admin
no password is set. the end user can go through the password recovery flow or login via oauth or login via magic url
Rank 2: Process
ah, thanks
Rank 2: Process
https://github.com/appwrite/appwrite/issues/5516
created an issue