Skip to content

Update tutorial with new Casbin resources and sections#66

Open
dazaisama wants to merge 1 commit intocasbin:masterfrom
dazaisama:patch-1
Open

Update tutorial with new Casbin resources and sections#66
dazaisama wants to merge 1 commit intocasbin:masterfrom
dazaisama:patch-1

Conversation

@dazaisama
Copy link

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.

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.
@netlify
Copy link

netlify bot commented Feb 2, 2026

Deploy Preview for casbin-website-v3 ready!

Name Link
🔨 Latest commit af1d469
🔍 Latest deploy log https://app.netlify.com/projects/casbin-website-v3/deploys/6980b8e31401120008b5fe39
😎 Deploy Preview https://deploy-preview-66--casbin-website-v3.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment on lines +106 to +108
- [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)
Copy link

Copilot AI Feb 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copilot uses AI. Check for mistakes.

- [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)
Copy link

Copilot AI Feb 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate link detected. Lines 55 and 56 contain identical content. Please remove one of these duplicate entries.

Suggested change
- [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)

Copilot uses AI. Check for mistakes.
- [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]
Copy link

Copilot AI Feb 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
- [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)

Copilot uses AI. Check for mistakes.
- [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>
Copy link

Copilot AI Feb 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
<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>

Copilot uses AI. Check for mistakes.
<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)
Copy link

Copilot AI Feb 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
- [php-casbin仓库](https://github.com/php-casbin/php-casbin)
- [php-casbin repository](https://github.com/php-casbin/php-casbin)

Copilot uses AI. Check for mistakes.
Comment on lines 65 to +70

### 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)
Copy link

Copilot AI Feb 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
### 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)

Copilot uses AI. Check for mistakes.
@nomeguy nomeguy mentioned this pull request Feb 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants