Casbin = way to authorization
A place for Casbin developers and users
现在注册
已注册用户请  登录
主题样式选择
默认主题样式 ✅
知乎主题样式 
hackerchai
hackerchai

Weekly Report 1 (June 1 - June 7)

Achievement this week

  1. Getting familiar with Diesel orm library and trying to optimize SQL in sqlx adapter
  2. Reading source code of other application written by Actix and diesel
  3. Reading documents of Rocket to check how Roccket implements Middleware

Milestone

Summary

First of all, the highest priority job is to implement a real-world-app using actix-casbin-auth, after discussion with my mentor, I decide to write an anonymous shudong to give an example of casbin-rs with RBAC model. I will choose PostgreSQL as database backend and JWT as default authentication method.

As for Rocket, the middleware is called Fairings. So it is available for us to implement a middleware similar to Actix.

Plan for next week

  1. Update dependencies in reops
  2. Design database structure and api document for actix-realworld-app
  3. Set up docker environment for actix-realworld-app
关于   ·   FAQ   ·   API   ·   我们的愿景   ·   广告投放   ·   感谢   ·   实用小工具   ·   50 人在线   最高记录 50   ·     选择语言  ·     选择编辑器
创意工作者们的社区
World is powered by code
VERSION: 6f2aea9 · 15ms · UTC 18:36 · PVG 02:36 · LAX 11:36 · JFK 14:36
♥ Do have faith in what you're doing.