Why not adopt me?
NAME
Net::FluidDB::Permission - FluidDB permissions
SYNOPSIS
use Net::FluidDB::Permission;
# get
$permission = Net::FluidDB::Permission->get($fdb, $category, $path, $action);
$permission->policy;
$permission->exceptions;
# update
$permission->policy('closed');
$permission->exceptions($exceptions);
$permission->update;
DESCRIPTION
Net::FluidDB::Permission
models FluidDB permissions.
USAGE
Inheritance
Net::FluidDB::Permission
is a subclass of Net::FluidDB::ACL.
Class methods
- Net::FluidDB::Permission->get($fdb, $category, $path, $action)
-
Retrieves the permission on action
$action
, for the category$category
and path$path
.Net::FluidDB
provides a convenience shortcut for this method.
Instance Methods
- $tag->update
-
Updates the permission in FluidDB.
- $tag->category
-
Returns the category the permission is about.
- $tag->path
-
Returns the path of the category the permission is about.
- $tag->action
-
Returns the action the permission is about.
FLUIDDB DOCUMENTATION
- FluidDB high-level description
- FluidDB API documentation
-
http://doc.fluidinfo.com/fluidDB/api/http.html#authentication-and-authorization
- FluidDB API specification
AUTHOR
Xavier Noria (FXN), <fxn@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2009-2011 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.