-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configure Role-Based Permissions for Database Tables #84
Comments
Can I take this from here? |
i am a software developer with experience. in both frontend and backend language with language like javaScript, nestjs ,etc . |
Hi, please can I be assigned this please? This would be my first time contributing to this project and I would love to be the given the opportunity to solve this issue please. I have experience in html, css, JavaScript,TypeScript and solidity and cairo. |
Hi, please can I handle this task? I’m a full-stack blockchain developer with over 3 years of experience working with Tailwind, React, TypeScript, next.js and Solidity/Rust. |
Is it okay if I take this? |
Can I tackle this one? |
Could I take over this issue? first time contributor |
Proposal to Address the IssueHello! I’m thrilled at the opportunity to work on this issue and am confident that I can provide a solution that not only addresses the requirements but also adds value to the project. My experience in blockchain development and StarkNet ecosystems equips me to deliver a robust and efficient implementation. My Unique Edge
Why This Matters to MeI’m passionate about the innovative potential of StarkNet and the broader blockchain space. This issue aligns perfectly with my skills and interests, and I’m committed to delivering a solution that will enhance the project’s impact. Immediate Action PlanIf assigned, I’ll initiate work immediately and aim to deliver the first draft within 36 hours. I’m flexible and open to feedback to ensure the solution aligns with project expectations. Looking forward to your approval and the chance to contribute! |
I'd love to give this a go. |
Gm. I have read through the issue summary, and current behaviour and what is expected and it aligns with my expertise as a Full stack developer proficient in JS. I would appreciate the opportunity to work on this part of the project. |
Hello I would love to work on this issue. may I proceed! |
I’d like to work on this. |
Let me handle this issue! |
Can i work on this? |
I’m an experienced backend developer interested in contributing to your project. I’d love to help with the database setup or other tasks. |
Can I work on this, please? |
Is it okay if I take this? I am a Software Engineer with Experience working on Database. If assigned this task, will send my first PR within 48 hrs. Thank you! |
I'm interested in resolving this task |
I'd love to give this a go. |
I'm a software developer with 2+ years of experience and I have worked with backend technologies such as Cairo, Java, Rust and frontend with React, NextJS, JS/TS. Also, I'm a member of the Dojo Coding community here in CR and I have made contributions in Cairo VM Go, Cairo VM TS, Cairo Lints etc. Likewise, I’m a Cairo developer working in ByteBuildersLabs creating on-chain games using the Dojo framework. This is my approach:
ET: 2 days aprox. |
Issue Summary
Configure basic role-based permissions for all database tables by creating dedicated YAML files in the metadata directory, granting full access to both tenant and landlord roles. This simplifies our authorization approach by relying on Firebase JWT claims for role designation. Please check this previous PR, where we already added authentication to the users table. We need to do the same for the rest of the tables.
Type of Issue
Current Behavior
Tables currently lack defined permissions and dedicated metadata files. Our authorization system needs to be configured to work with the role information that will be provided by Firebase JWT claims.
Expected Behavior
Each table should have its own metadata file in the proper directory structure, allowing full access to both tenant and landlord roles, with roles being determined by Firebase JWT claims. This will create a foundation for our authorization system that we can later refine based on specific access requirements.
Implementation Steps
For apartments table:
For apartment_images table:
For bid_requests table:
For bid_status_histories table:
For escrow_transactions table:
For escrow_xdr_transactions table:
For escrow_api_calls table:
For apartment_contracts table:
Environment Details
Supporting Information
Expected JWT Structure
Tables Requiring Permission Updates
Also you can reference this tutorial as a base.
The text was updated successfully, but these errors were encountered: