Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Create Role in Fauna
result = real_client.query(
q.create_role({
"name": "new-role-c",
"privileges": [
{
"resource": q.function("create_user"),
"actions": {
"call": True
}
}
]
})
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment