mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 08:02:15 +03:00
console: add doc link for view permissions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9717 GitOrigin-RevId: f1539ee98e5b0d1691af697a9049e7d861f7bbf1
This commit is contained in:
parent
5d027f9861
commit
5c0ade42e0
@ -1998,7 +1998,20 @@ class Permissions extends Component {
|
||||
<br />
|
||||
<div className={styles.padd_left_remove}>
|
||||
<div className={`${styles.padd_remove} col-xs-12`}>
|
||||
<h4 className={styles.subheading_text}>Permissions</h4>
|
||||
<h4 className={styles.subheading_text}>
|
||||
Permissions{' '}
|
||||
{currentTableSchema?.table_type === 'VIEW' ? (
|
||||
<LearnMoreLink
|
||||
href="https://hasura.io/docs/latest/schema/postgres/views/#pg-create-views"
|
||||
text="(Learn more about view permissions)"
|
||||
/>
|
||||
) : (
|
||||
<LearnMoreLink
|
||||
href="https://hasura.io/docs/latest/auth/authorization/permissions/"
|
||||
text="(Learn more about table permissions)"
|
||||
/>
|
||||
)}
|
||||
</h4>
|
||||
{getPermissionsTable(
|
||||
currentTableSchema,
|
||||
supportedQueryTypes,
|
||||
|
Loading…
Reference in New Issue
Block a user