X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Faccess_user.html;h=73488ef9a6e1ba786d40ba3c81443990f92f0fa6;hb=7bc780834a604a2e678d028f875fd4b546412cfb;hp=a8cb341e691f07e3abe041180e70dcafe939c778;hpb=eab5690e7cd970706f709ac0ef4f1c3e317fcd7d;p=freeside.git diff --git a/httemplate/edit/access_user.html b/httemplate/edit/access_user.html index a8cb341e6..73488ef9a 100644 --- a/httemplate/edit/access_user.html +++ b/httemplate/edit/access_user.html @@ -1,5 +1,5 @@ <% include( 'elements/edit.html', - 'name' => 'Internal User', + 'name' => 'Employee', 'table' => 'access_user', 'fields' => [ 'username', @@ -19,14 +19,14 @@ 'disabled' => 'Disable employee', }, 'edit_callback' => sub { my( $c, $o ) = @_; - $o->set('_password2', $o->_password); + $o->set('_password', ''); }, 'viewall_dir' => 'browse', 'html_bottom' => sub { my $access_user = shift; - '
Internal Access Groups
'. + '
Employee Groups
'. ntable("#cccccc",2). ''. include( '/elements/checkboxes-table.html', @@ -42,3 +42,9 @@ }, ) %> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); + +