The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 0.3 - 2012-12-28

  • BACKWARDS COMPATIBILITY BROKEN
    • Actions and features can now have constraints. When an action/features doesn't have any, then it's really a yes/no (have/don't) option. When an action/feature does have constraints, then it's no longer a yes/no option. This allows more finer grained control over abilities.
    • The can_perform() method now can only take one action, not a list. It now also takes an optional constraint. Same goes for has_feature().
    • The required actions() method in Abilities.pm and features() method in Abilities/Features.pm now expects a different return structure, read the docs for more info
    • Abilities::Scoped is removed since Abilities now provides the same functionality with the new constraints paradigm
  • VARIOUS CHANGES
    • Now using Any::Moose instead of Moose
    • Changed the names of Abilities::takes_from() and Abilities::belongs_to() (they were the same method) to Abilities::assigned_role() and added a deprecation warning for the previous two
    • Changed the name of Abilities::inherits_from_role() to Abilities::does_role() and added a deprecation warning to the previous one
    • Changed the name of Abilities::Features::inherits_from_plan() to Abilities::Features::inherits_plan() and added a deprecation warning for the previous one
    • Created a test suite

Modules

Simple, hierarchical user authorization for web applications, with optional support for plan-based (paid) services.
Extends Abilities with plan management for subscription-based web services.