Comments (7)
Just an update on this. I've removed the double quotes from the schema attribute and still see the same issue.
export const will only work if it is a mjs file. I've since converted it to a cjs file so you'd need to remove the export for that.
from permify.
I wasn't able to figure out why permify-node has issues around the tenantId getting passed into schema write. My guess is more research and fixes will need to be applied to permify-node to move past these issues. It has possibly something to do with nice-grpc or grpc js and whatever "invalid argument" gets passed into these packages.
I don't have time to dig that deep so hopefully you can find this in your code.
For now to work around this we've since moved to posting directly to WriteDB over http POST to deploy the schema.perm file script. My hope is that the permify-node permission check still works with GRPC so we can rely on the bit nicer dx around that rather than http/rest but we haven't gotten that far yet to test.
from permify.
@EgeAytin I have confirmed that this fixed the issue, thanks!
from permify.
This is also with the brew method of running Permify. I ran into issues with the docker method which I'll work with you on separately.
from permify.
Some additional details:
computer: Macbook Pro 2021 M1 Max (Apple Silicon)
OS: Ventura 13.1 (22C65)
Postgres version: 15.1 (via docker-compose)
Node version: 16.18.0
permify-node version: 0.3.1
permify version via brew: 0.3.0
communication method: GRPC. Curl seems to return a schema_version response so I believe that is working.
from permify.
I did try downgrading permify-node to 0.2.0 but still had no success with that.
from permify.
Hi @brandensilva we solved the issue!! Could you install the latest version of permify-node (0.3.2) and test it. We can close this issue afterwards.
from permify.
Related Issues (20)
- Permify Should Display Error for Unsupported PostgreSQL Versions HOT 8
- Extend # in relation types to support permissions
- Add Permify Helm Charts to Setup Options on Documentation HOT 9
- Allow filtering by attributes/relations on permissions/lookup-entity
- Typos in documentation HOT 1
- Support postgresql schema for database layout
- Panic while connecting to invalid address HOT 8
- Permify Config Command for Config Inspection HOT 12
- [BUG] "Enforcement" of the playground not works?
- Support exporting OTLP over gRPC HOT 9
- Don't exit with a help message HOT 9
- support cockroachdb + yugabytedb as additional engine support
- Implement Enhanced Backoff Policy for JWKs Retrieval and Validation HOT 8
- [BUG] Flags are not being passed to serve command HOT 2
- Add JSON Output Option for Logger Configuration HOT 11
- Guided Tour Interface For Playground HOT 14
- [BUG/Q] Attribute value Any from Swagger definition HOT 1
- fly.io deployment
- More Meaningful Error Response HOT 6
- Missing Documentation for Service Section in Configuration File HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from permify.