Refine and optimize the Casbin-dashboard & Casdoor
- Mentors
- Yang Luo
- Organization
- Casbin
- Technologies
- mysql, javascript, react, golang
- Topics
- web
Casbin-dashboard is the official web UI (admin portal) for Casbin models and policies. Casdoor is a centralized authentication / Single-Sign-On (SSO) platform.
Problem:
1. A more friendly policy management UI is needed for Casbin-dashboard. And it should be able to handle 10,000+ more rules. 2. Test management page needs to be developed for Casbin-dashboard. A test page to make example requests to Casbin and get responses, like Postman. 3. Authentication and authorization for the Casbin-dashboard itself. Of course authorization will be implemented in Casbin. 4. Casdoor needs to sign up with email without verification by configuring the application edit page. 5. Casdoor needs to support configurable captcha in user flows. It can support different implementations.
Solution:
1. We can use more powerful and high-quality UI libraries such as Ant Design to build more friendly web UI. And in order to handle 10,000+ more rules, we can use paging display and virtual list in frontend, and we can use paging query and database index in backend. 2. We can build a test management page, so that we can create and edit our unit test case through the web page. 3. We can build an authorization management page to realize the authorization of the dashboard. We can use Casbin models to control the presentation of every element on the page and control each request of the RESTful API. 4. We can add a rule to control whether the email verification is required.5. We can integrate the different services from cloud captcha providers like gCaptcha, hCaptcha. To save a lot of work, we just only need to integrate the wrapper code.
Deliverables:
1. Allow to sign up with Email without verification for Casdoor. - June 7;
2. Support configurable captcha for Casdoor. - June 28;
3. A more friendly policy management UI for Casbin-dashboard. - July 11;
4. Test management page for Casbin-dashboard. - July 23;
5. Authentication and authorization for the Casbin-dashboard itself. - Aug 11;