Changeset 2282 for trunk/LATMOS-Accounts/bin/la-cli
- Timestamp:
- 09/02/19 20:11:12 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts/bin/la-cli
r2209 r2282 25 25 'no-unexp|wo-unexp' => \my $nounexp, 26 26 'with-unexp' => \my $unexp, 27 'u|username=s' => \my $username, 27 28 'help' => sub { pod2usage(0) }, 28 29 ) or pod2usage(); … … 52 53 Take into account only propagated objects (attribute 'exported'=1) (default) 53 54 55 =item -u|--username USER 56 57 Simulated access like user USER is login 58 54 59 =back 55 60 56 61 =cut 57 62 58 my $LA = LATMOS::Accounts->new($config, noacl => 1);63 my $LA = LATMOS::Accounts->new($config, noacl => $username ? 0 : 1); 59 64 my $labase = $LA->base($base); 60 65 $labase && $labase->load or die "Cannot load base";
Note: See TracChangeset
for help on using the changeset viewer.