#Authorization
2 notas · última:
Role-based authorization in Rails
The post argues that CanCan makes permissions easy but encourages duplicated rules and repeated overrides, and presents Access Granted as a role-based alternative with inheritance, dynamic checks, and controller protection.
Some best practices for authentication in Ruby on Rails
The article distinguishes authentication from authorization, recommends clearer names for authentication accessors, argues for separate authentication sessions, and warns that auth gems can add security and maintenance risks.
