<% include( 'elements/edit.html',
- 'name' => 'Internal User',
+ 'name' => 'Employee',
'table' => 'access_user',
'fields' => [
'username',
'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;
- '<BR>Internal Access Groups<BR>'.
+ '<BR>Employee Groups<BR>'.
ntable("#cccccc",2).
'<TR><TD>'.
include( '/elements/checkboxes-table.html',
},
)
%>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+
+</%init>