OpusVL::AppKit::Plugin::AppKit::FeatureList
version 2.24
my $features = OpusVL::AppKit::Plugin::AppKit::FeatureList->new;
Object to manage the features in AppKit to provide a less granular view of our access control system.
OpusVL::AppKit::Plugin::AppKit::FeatureList;
Pass it an action from the controller and it will read the features it is part of and store the details.
Allows you to set the roles allowed to access a feature.
Returns a list of roles allow to access an action path.
Returns a hash containing the feature names and their allowed roles.
Returns a flat list of features. These feature names have the app name encoded in.
This is used by code that talks to the database since that's the format we store the features in.
OpusVL - www.opusvl.com
This software is copyright (c) 2010 by OpusVL - www.opusvl.com.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install OpusVL::AppKit, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OpusVL::AppKit
CPAN shell
perl -MCPAN -e shell install OpusVL::AppKit
For more information on module installation, please visit the detailed CPAN module installation guide.