projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
AccountingPeriod - Methode an get_balance_starting_date übergeben
[kivitendo-erp.git]
/
sql
/
Pg-upgrade2-auth
/
productivity_rights.pl
diff --git
a/sql/Pg-upgrade2-auth/productivity_rights.pl
b/sql/Pg-upgrade2-auth/productivity_rights.pl
index
4dd0270
..
067a9d9
100644
(file)
--- a/
sql/Pg-upgrade2-auth/productivity_rights.pl
+++ b/
sql/Pg-upgrade2-auth/productivity_rights.pl
@@
-1,7
+1,7
@@
# @tag: productivity_rights
# @description: Setzt das Recht die Produktivität einzusehen und das Recht den Link zum Admin-Menü anzuzeigen wieder wie vorher
# @tag: productivity_rights
# @description: Setzt das Recht die Produktivität einzusehen und das Recht den Link zum Admin-Menü anzuzeigen wieder wie vorher
-# @depends: release_3_
0_0
-package SL::DBUpgrade2::productivity_rights;
+# @depends: release_3_
2_0 add_master_rights
+package SL::DBUpgrade2::
Auth::
productivity_rights;
use strict;
use utf8;
use strict;
use utf8;
@@
-16,8
+16,8
@@
sub run {
my $groups = $main::auth->read_groups();
foreach my $group (values %{$groups}) {
my $groups = $main::auth->read_groups();
foreach my $group (values %{$groups}) {
- $group->{rights}->{productivity} = 1
unless defined $group->{rights}->{productivity}
;
- $group->{rights}->{display_admin_link} = 1
unless defined $group->{rights}->{display_admin_link}
;
+ $group->{rights}->{productivity} = 1;
+ $group->{rights}->{display_admin_link} = 1;
$main::auth->save_group($group);
}
$main::auth->save_group($group);
}