NAME

WWW::Suffit::AuthDB::Group - WWW::Suffit::AuthDB group class

SYNOPSIS

use WWW::Suffit::AuthDB::Group;

DESCRIPTION

This module provides AuthDB group methods

is_valid

Check the group object

mark

Marks object as cached

ATTRIBUTES

description
$group->description('Root group');
my $description = $group->description;

Sets and returns description of the group

groupname
$group->groupname('wheel');
my $groupname = $group->groupname;

Sets and returns groupname of the group

is_valid
$group->is_valid or die "Incorrect group";

Returns boolean status of group's data

users
$group->users([qw/ alice bob /]);
my $users = $group->users; # ['alice', 'bob']

Sets and returns users of group (array of users)

HISTORY

See Changes file

TO DO

See TODO file

SEE ALSO

WWW::Suffit::AuthDB, Mojolicious

AUTHOR

Serż Minus (Sergey Lepenkov) https://www.serzik.com <abalama@cpan.org>

COPYRIGHT

Copyright (C) 1998-2023 D&D Corporation. All Rights Reserved

LICENSE

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See LICENSE file and https://dev.perl.org/licenses/