- menu item 1
- menu item 2
- menu item 3
- menu item 11
regress: Add test for restore jobid= parameter
regress: Add tests for file=? restore with restricted console
DirectoryAcl = *all*
UserIdAcl = *all*
}
+Console {
+ Name = restricted-job-client
+ Password = xxx
+ JobAcl = backup
+ ClientAcl = test1-fd
+ PoolAcl = *all*
+ CatalogAcl = *all*
+ FileSetAcl = *all*
+ CommandAcl = *all*
+ StorageAcl = *all*
+ WhereAcl = *all*
+ DirectoryAcl = *all*
+ UserIdAcl = *all*
+}
EOF
cat <<EOF >> $tmp/bconsole.conf2
sed 's/Password.*/Password = xxx/' $conf/bconsole.conf >> $tmp/bconsole.conf2
-for i in job pool client clients fileset bvfs1 bvfs2
+for i in job pool client clients fileset bvfs1 bvfs2 job-client
do
sed "s/restricted/restricted-$i/" $tmp/bconsole.conf2 > $tmp/bconsole.conf.$i
done
#!/bin/sh
#
-# Copyright (C) 2000-2023 Kern Sibbald
-# Copyright (C) 2021-2022 Bacula Systems SA
+# Copyright (C) 2000-2021 Kern Sibbald
+# Copyright (C) 2021-2023 Bacula Systems SA
# License: BSD 2-Clause; see file LICENSE-FOSS
#
# Run a couple of tests with bconsole and console ACL