|
NAMESVN::Access::Resource - Object representing a SVN Access file resource SYNOPSIS use SVN::Access;
my $acl = SVN::Access->new(acl_file => '/usr/local/svn/conf/badnews_svn_access.conf');
# grant mikey_g read-write access to /
$acl->resource('/')->authorize('mikey_g', rw);
# print out users and their authorization for /
while (my ($user, $perms) = each(%{$acl->resource('/')->authorized})) {
print "$user: $perms\n";
}
# revoke access for mikey_g to /
$acl->resource->('/')->deauthorize('mikey_g');
DESCRIPTIONSVN::Access::Resource is an object wrapper around a SVN::Access resource. METHODS
SEE ALSOsubversion (http://subversion.tigris.org/), SVN::ACL, svnserve.conf AUTHORMichael Gregorowicz, <mike@mg2.org> COPYRIGHT AND LICENSECopyright (C) 2012-2017 by Michael Gregorowicz This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
|