CipUX::RBAC::Simple(3pm)

CipUX::RBAC::Simple3pm

Rbac class for cipux

Usage

  use CipUX::RBAC::Simple;

Version

version 3.4.0.0

Overview

Provides functions for Role Based Access Control.

Abstract

The CipUX RBAC Simple class provides services to CipUX XML-RPC (CipUX::RPC) server.

Configuration and environment

Not needed.

Dependencies

 Carp
 CipUX
 CipUX::Task
 Class::Std
 Data::Dumper
 English
 Graph
 Graph::Directed
 Log::Log4perl
 Readonly
 version

Subroutines/methods

The following functions will be exported by CipUX::RBAC::Simple.

Demolish

destructor

access_to_rpc_intern( { user=>$user, role=>$role } )

Return 1 on access 0 otherwise.

access_to_task( { user=>$user, task=>$task } )

Return 1 on access 0 otherwise.

access_to_cat_module( { user=>$user, cat_module=>$cat_module } )

Return 1 on access 0 otherwise.

query( $task, $attr, $object )

Queries the storage layer and returns a Perl list as the answer from the task command.

flush

Flush the cat_module, rpc_intern, task cache. Returns 1 on success 0 if flushing of one cache fails.

cat_module_cache_size

Returns number of cache entries.

rpc_intern_cache_size

Returns number of cache entries.

task_cache_size

Returns number of cache entries.

Diagnostics

Do not have specific messages. It uses perr() from CipUX. See Perl Module CipUX for more information about perr().

perr():

access_to_rpc_intern: user, role

access_to_task: user, task

access_to_cat_module: user, cat_module

Incompatibilities

Not known.

Bugs and limitations

No bugs have been reported.

Disclaimer of warranty

BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION.

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENSE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

Releases

4 releases since Debian 6.0 (Squeeze); the text changed 2 times.

  1. 6.0
  2. 7–8
  3. 9

Author

Christian Kuelker <[email protected]>

From libcipux-rbac-simple-perl 3.4.0.0-4.1 in Debian 9 (Stretch). Parsed by carta from the page's man source.