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

Conversation

@benkimpel
Copy link
Contributor

@benkimpel benkimpel commented Sep 6, 2019

fix #2842

Description

Add "timestamp without time zone" and "time without time zone" to the PGTypes.dateTime array.

Affected components

  • Console

Related Issues

#2842

Solution and Design

It seems that timestamp without time zone is not recognized as a PGTypes.dateTime and therefore the PermissionBuilder offered no options for the column.

Steps to test and verify

In case the PG version is relevant: server 11.2

  1. Create a column of type timestamp without time zone.
  2. Select permissions for the table
  3. Try to set a permission based on the column

If there are any test cases I should add, please let me know and point me to where they're at. Happy to add them, if you'd like.

Limitations, known bugs & workarounds

@benkimpel benkimpel requested a review from rikinsk as a code owner September 6, 2019 18:33
@CLAassistant
Copy link

CLAassistant commented Sep 6, 2019

CLA assistant check
All committers have signed the CLA.

@netlify
Copy link

netlify bot commented Sep 6, 2019

Deploy preview for hasura-docs ready!

Built with commit 1c4c390

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

@hasura-bot
Copy link
Contributor

Review app for commit 1c4c390 deployed to Heroku: https://hge-ci-pull-2844.herokuapp.com
Docker image for server: hasura/graphql-engine:pull2844-1c4c3908

@rikinsk rikinsk merged commit 0c0a2d6 into hasura:master Sep 6, 2019
@hasura-bot
Copy link
Contributor

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

polRk pushed a commit to polRk/graphql-engine that referenced this pull request Feb 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Timestamp without time zone column offers no options in permission builder

4 participants