Authen::Htpasswd::Trac - interface to read and modify Trac password files
use Authen::Htpasswd::Trac; my $auth = Authen::Htpasswd::Trac->new( '/path/to/.htpasswd', { trac => '/path/to/trac.db'} ); my @rs = $auth->find_user_permissions($username, $password); $auth->add_permission('myuser', 'TRAC_ADMIN'); $auth->remove_permission('myuser', 'TRAC_ADMIN');
This module based on Authen::Htpasswd. And interface to trac with account-manager plugin.
Returns trac permission names.
Add permission to trac.
Remove permission to trac.
$ perldoc Authen::Htpasswd
Kazuhiro Nishikawa <kazuhiro.nishikawa@gmail.com>
Authen::Htpasswd, http://trac.edgewall.org/
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Authen::Htpasswd::Trac, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Authen::Htpasswd::Trac
CPAN shell
perl -MCPAN -e shell install Authen::Htpasswd::Trac
For more information on module installation, please visit the detailed CPAN module installation guide.