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

EMail Invite #23

Open
JakeIwen opened this issue Nov 6, 2017 · 2 comments
Open

EMail Invite #23

JakeIwen opened this issue Nov 6, 2017 · 2 comments

Comments

@JakeIwen
Copy link
Collaborator

JakeIwen commented Nov 6, 2017

When a user invites someone else via email, upon new user signup i have an 'accepted' friend request created and then the two users are added to each others tribe.

How can I prevent just anyone from invoking mutations like this through devTools or whatever?
I didnt' seem to need any special credentials to run this code in the first place.

Is all React code turned into normal JS that is editable by the user in devTools?

What's to stop any user from running this code with which ever user Ids they choose?
image

@JakeIwen
Copy link
Collaborator Author

JakeIwen commented Nov 6, 2017

@carlpeaslee

@carlpeaslee
Copy link
Contributor

Right now there isn’t anything. You should however be able to go to the GraphCool console and start adding granular permissions about who can make which mutations.

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

No branches or pull requests

2 participants