Casbin Forum runs on Casnode, the open-source Discourse-style forum. Try the Casnode demo →
Casbin Forum

Hello guys, I have been trying to play around with the casbin editor for a while now to come out with the best strategy to handle authorisation for a new project, but I haven't had much progress.

Its a learning management system(LMS), basically similar to how moodle handles authorization. like me giive a little context of what I want to achieve

  • A user with role of manager has access to all courses
  • A user with role of teacher has access to courses assigned to them (context is involved here))
  • A forum, quiz and assessment belongs to a course and can inherit permission from the course so much so the teachers role for the course will be inherited by forums, quiz and assessment
  • A user can access their own data.

I have spend some time on this on the editor and havn't had any success, I also want to write a medium post on this subsequently because I did not really find such a use case for this context

2views
2users
1 minread
1 / 2
Dec 2024