1 2 3 4 5 6 7 8 9 10 11 12 13 14
<% include( 'elements/process.html', table => 'realestate_location', viewall_dir => 'browse', ) %> <%init> my $curuser = $FS::CurrentUser::CurrentUser; die "access denied" unless $curuser->access_right('Edit inventory') || $curuser->access_right('Edit global inventory') || $curuser->access_right('Configuration'); </%init>