Update tutorial with new Casbin resources and sections#66
Update tutorial with new Casbin resources and sections#66dazaisama wants to merge 1 commit intocasbin:masterfrom
Conversation
Added new resources and tutorials related to Casbin for various programming languages including Go, Java, Node.js, PHP, .NET, Rust, Lua, and Python. Updated sections on HTTP authorization and added new tabs for Python integrations and API gateway comparisons.
✅ Deploy Preview for casbin-website-v3 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
|
There was a problem hiding this comment.
Pull request overview
This PR enhances the Casbin tutorial documentation by adding numerous external resources and tutorials across multiple programming languages and frameworks. The update expands the documentation to include a new Python tab and adds comparison/analysis sections for evaluating Casbin against other authorization solutions.
Changes:
- Added new tutorial links for Go, Java, Node.js, PHP, Rust, and Lua implementations
- Introduced a new Python tab with FastAPI and other Python-specific integrations
- Added "API Gateway and Ecosystem" and "Comparison and Analysis" sections with external resources
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| - [How to implement RBAC with Casbin and nodejs](https://kingsleyatanang.dev/blog/rbac-with-casbin-and-nodejs) | ||
| - [Casbin with Node.js](https://adi22maurya.medium.com/casbin-with-node-js-76668c4d16aa) | ||
| - [Using Casbin for user authorization in a system](https://2coffee.dev/en/articles/using-casbin-for-user-authorization-in-a-system) |
There was a problem hiding this comment.
These links (lines 106-108) appear to be general Node.js tutorials rather than Fastify-specific resources. They should either be moved to a general Node.js section or verified to ensure they specifically relate to using Casbin with Fastify. If they are general Node.js resources, consider creating a general section or moving them to the Express section or another appropriate location.
|
|
||
| - [Basic Role-Based HTTP Authorization in Go with Casbin](https://zupzup.org/casbin-http-role-auth) | ||
| - [HTTP Authorization in Go using Casbin, Redis and PostgreSQL](https://dev.to/girishg4t/basic-role-based-http-authorization-in-go-with-casbin-redis-postgresql-1eh2) | ||
| - [HTTP Authorization in Go using Casbin, Redis and PostgreSQL](https://dev.to/girishg4t/basic-role-based-http-authorization-in-go-with-casbin-redis-postgresql-1eh2) |
There was a problem hiding this comment.
Duplicate link detected. Lines 55 and 56 contain identical content. Please remove one of these duplicate entries.
| - [HTTP Authorization in Go using Casbin, Redis and PostgreSQL](https://dev.to/girishg4t/basic-role-based-http-authorization-in-go-with-casbin-redis-postgresql-1eh2) |
| - [Designing a Flexible Permissions System with Casbin](https://medium.com/silo-blog/designing-a-flexible-permissions-system-with-casbin-f5d97fef17b8) | ||
| - [Authorize with Access Control Lists](https://medium.com/pragmatic-programmers/authorize-with-access-control-lists-92fbec57a920) | ||
| - [The Power of Casbin’s PERM Model – Medium by Casbin Team](https://medium.com/casbin/the-power-of-casbins-perm-model-7c9a5b6e8f3d?spm=5176.28103460.0.0.14e67551FWN1PG) | ||
| - [Building Dynamic Authorization Systems with Casbin and the PERM Model – LogRocket Blog] |
There was a problem hiding this comment.
Incomplete link. This list item is missing the URL. The markdown link appears to be missing the URL portion in parentheses after the closing bracket.
| - [Building Dynamic Authorization Systems with Casbin and the PERM Model – LogRocket Blog] | |
| - [Building Dynamic Authorization Systems with Casbin and the PERM Model – LogRocket Blog](https://blog.logrocket.com/building-dynamic-authorization-systems-casbin-perm-model) |
| - [Building Dynamic Authorization Systems with Casbin and the PERM Model – LogRocket Blog] | ||
|
|
||
|
|
||
| <Tabs groupId="langs" items={['Go', 'Java', 'Node.js', 'PHP', '.NET', 'Rust', 'Lua']} persist> |
There was a problem hiding this comment.
The Tabs component on line 49 declares items as ['Go', 'Java', 'Node.js', 'PHP', '.NET', 'Rust', 'Lua'], but a new Python tab has been added at line 145. The Python value needs to be added to the items array to make this tab properly accessible in the UI.
| <Tabs groupId="langs" items={['Go', 'Java', 'Node.js', 'PHP', '.NET', 'Rust', 'Lua']} persist> | |
| <Tabs groupId="langs" items={['Go', 'Java', 'Node.js', 'PHP', '.NET', 'Rust', 'Lua', 'Python']} persist> |
| <Tab value="PHP"> | ||
|
|
||
| - [Casbin, Powerful and Efficient ACL for Your Projects](http://phpmagazine.net/2018/11/casbin-powerful-and-efficient-acl-for-your-projects.html) | ||
| - [php-casbin仓库](https://github.com/php-casbin/php-casbin) |
There was a problem hiding this comment.
Link text contains Chinese characters ("php-casbin仓库" translates to "php-casbin repository"). For consistency with the rest of the documentation which is in English, this should be translated to English.
| - [php-casbin仓库](https://github.com/php-casbin/php-casbin) | |
| - [php-casbin repository](https://github.com/php-casbin/php-casbin) |
|
|
||
| ### Echo | ||
|
|
||
| - [Web authorization with Casbin](http://klotzandrew.com/blog/authorization-with-casbin) | ||
| - [Authorization in Go with Casbin](https://levelup.gitconnected.com/authorization-in-go-with-casbin-79c07fffce61) | ||
| - [Creating a Spring Security-like RBAC System for Your Gin Project Using Casbin](https://medium.com/@abhishekranjandev/creating-a-spring-security-like-rbac-system-for-your-gin-project-using-casbin-41364211ae67) |
There was a problem hiding this comment.
This link about a "Spring Security-like RBAC System for Your Gin Project" is placed under the Echo section but is actually about Gin. This should be moved to the Gin section (above line 65) to maintain proper organization.
| ### Echo | |
| - [Web authorization with Casbin](http://klotzandrew.com/blog/authorization-with-casbin) | |
| - [Authorization in Go with Casbin](https://levelup.gitconnected.com/authorization-in-go-with-casbin-79c07fffce61) | |
| - [Creating a Spring Security-like RBAC System for Your Gin Project Using Casbin](https://medium.com/@abhishekranjandev/creating-a-spring-security-like-rbac-system-for-your-gin-project-using-casbin-41364211ae67) | |
| - [Creating a Spring Security-like RBAC System for Your Gin Project Using Casbin](https://medium.com/@abhishekranjandev/creating-a-spring-security-like-rbac-system-for-your-gin-project-using-casbin-41364211ae67) | |
| ### Echo | |
| - [Web authorization with Casbin](http://klotzandrew.com/blog/authorization-with-casbin) | |
| - [Authorization in Go with Casbin](https://levelup.gitconnected.com/authorization-in-go-with-casbin-79c07fffce61) |
Added new resources and tutorials related to Casbin for various programming languages including Go, Java, Node.js, PHP, .NET, Rust, Lua, and Python. Updated sections on HTTP authorization and added new tabs for Python integrations and API gateway comparisons.