projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88221aa
)
fix "Download report data" ACL upgrade
author
Ivan Kohler
<ivan@freeside.biz>
Thu, 14 May 2015 23:19:30 +0000
(16:19 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Thu, 14 May 2015 23:19:30 +0000
(16:19 -0700)
FS/FS/access_right.pm
patch
|
blob
|
history
diff --git
a/FS/FS/access_right.pm
b/FS/FS/access_right.pm
index
6de16f6
..
14a6098
100644
(file)
--- a/
FS/FS/access_right.pm
+++ b/
FS/FS/access_right.pm
@@
-294,6
+294,7
@@
sub _upgrade_data { # class method
# grant to everyone
for my $group (@all_groups) {
+ next if $group->access_right('Download report data');
my $access_right = FS::access_right->new( {
'righttype' => 'FS::access_group',
'rightobjnum' => $group->groupnum,