Net::Fluidinfo::Permission - Fluidinfo permissions
use Net::Fluidinfo::Permission; # get $permission = Net::Fluidinfo::Permission->get($fin, $category, $path, $action); $permission->policy; $permission->exceptions; # update $permission->policy('closed'); $permission->exceptions($exceptions); $permission->update;
Net::Fluidinfo::Permission models Fluidinfo permissions.
Net::Fluidinfo::Permission
Net::Fluidinfo::Permission is a subclass of Net::Fluidinfo::Base.
Retrieves the permission on action $action, for the category $category and path extracted from $path, which can be either a string with the very path, a namespace, or a tag.
$action
$category
$path
Net::Fluidinfo provides a convenience shortcut for this method.
Net::Fluidinfo
Updates the permission in Fluidinfo.
Returns the category the permission is about.
Returns the path of the category the permission is about.
Returns the action the permission is about.
http://doc.fluidinfo.com/fluidDB/permissions.html
http://doc.fluidinfo.com/fluidDB/api/http.html#authentication-and-authorization
http://api.fluidinfo.com/fluidDB/api/*/permissions/*
Xavier Noria (FXN), <fxn@cpan.org>
Copyright (C) 2009-2012 Xavier Noria
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Net::Fluidinfo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Fluidinfo
CPAN shell
perl -MCPAN -e shell install Net::Fluidinfo
For more information on module installation, please visit the detailed CPAN module installation guide.