NAME
OpusVL::AppKit::Plugin::AppKit::FeatureList
VERSION
version 2.29
SYNOPSIS
my $features = OpusVL::AppKit::Plugin::AppKit::FeatureList->new;
DESCRIPTION
Object to manage the features in AppKit to provide a less granular view of our access control system.
NAME
OpusVL::AppKit::Plugin::AppKit::FeatureList;
METHODS
add_action
Pass it an action from the controller and it will read the features it is part of and store the details.
set_roles_allowed
Allows you to set the roles allowed to access a feature.
roles_allowed_for_action
Returns a list of roles allow to access an action path.
feature_list
Returns a hash containing the feature names and their allowed roles.
feature_names_with_app
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.
AUTHOR
OpusVL - www.opusvl.com
COPYRIGHT AND LICENSE
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.