Skip to content

Commit

Permalink
use 'true' for action filter for non admin role
Browse files Browse the repository at this point in the history
  • Loading branch information
0x777 committed Dec 10, 2019
1 parent 1c9819a commit aa02af1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions server/src-lib/Hasura/RQL/DDL/Action.hs
Expand Up @@ -232,12 +232,13 @@ validateAndCacheActionPermission createActionPermission = do
actionName = _capAction createActionPermission
role = _capRole createActionPermission
permissionDefinition = _capDefinition createActionPermission
-- TODO
-- TODO
buildActionFilter
:: (QErrM m)
=> ActionPermissionSelect
-> m AnnBoolExpPartialSQL
buildActionFilter permission = undefined
buildActionFilter permission =
return annBoolExpTrue

runCreateActionPermission_
:: ( QErrM m , CacheRWM m, MonadTx m)
Expand Down

0 comments on commit aa02af1

Please sign in to comment.