这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@tirumaraiselvan
Copy link
Contributor

@tirumaraiselvan tirumaraiselvan commented Mar 30, 2020

Description

Since UDFs are commonly used with Hasura, adding docs to grant sample permissions for their access.

Note:

Postgres grants execute on functions to PUBLIC (i.e. all roles) by default. And execute is the only privilege for a function: https://www.postgresql.org/docs/9.1/sql-createfunction.html

So, this permission might be redundant in most situations.

Affected components

  • Server
  • Console
  • CLI
  • Docs
  • Community Content
  • Build System
  • Tests
  • Other (list it)

Since UDFs are commonly used with Hasura, adding docs to grant sample permissions for their access.
@netlify
Copy link

netlify bot commented Mar 30, 2020

Deploy preview for hasura-docs ready!

Built with commit 4a1753f

https://deploy-preview-4238--hasura-docs.netlify.com

@rikinsk rikinsk requested a review from a team as a code owner March 30, 2020 07:54
@tirumaraiselvan
Copy link
Contributor Author

I am not sure of the utility of this because turns out Postgres grants execute to PUBLIC (i.e. all roles) by default. And execute is the only privilege for a function: https://www.postgresql.org/docs/9.1/sql-createfunction.html

But, I guess no harm 🤷‍♂️

@rikinsk rikinsk merged commit df0e8b6 into hasura:master Mar 30, 2020
@hasura-bot
Copy link
Contributor

Review app https://hge-ci-pull-4238.herokuapp.com is deleted

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants