Minseok Kim

Results 6 comments of Minseok Kim

```yaml functions: isAuthenticated: 'return !!request.auth' isOwner: "return !!request.auth && userId === request.auth['user-id']" validToken: 'return request.query.token === resource.Metadata.token' paths: /user/:userId/: list: 'isOwner(userId)' /user/:userId/:fileId: read: 'isOwner(userId) || validToken()' write: 'isOwner(userId)' /public*: read:...

@chatzich you can use `get` parameters which is at ends of the url. `localhost/o/storage/some-path?token=sometoken`

@chatzich The token was send from Hasura backend plus, each time uploading object. You can find that at [API doc](https://github.com/nhost/hasura-backend-plus/blob/master/docs/docs/api-reference.md#response-12).

@chatzich Yes, you are.

@chatzich Yes, I think so. You should store the token for the object file to get the file by token if you are not owner of the object file.

By my own sheet context, I workaround it. ```typescript import {forwardRef} from 'react'; import ActionSheet from 'react-native-actions-sheet'; import {View, Text} from 'react-native'; import type {ActionSheetRef, SheetProps} from 'react-native-actions-sheet'; export const...