mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
93_DbRep: fix user rights check for index operation
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@21429 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
f3036bd0a4
commit
9b3c6fff3b
1
CHANGED
1
CHANGED
@ -1,5 +1,6 @@
|
|||||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||||
# Do not insert empty lines here, update check depends on it.
|
# Do not insert empty lines here, update check depends on it.
|
||||||
|
- bugfix: 93_DbRep: fix user rights check for index operation
|
||||||
- bugfix: 73_AutoShuttersControl: fix SleepPos conditions in residents
|
- bugfix: 73_AutoShuttersControl: fix SleepPos conditions in residents
|
||||||
and roommates Fn
|
and roommates Fn
|
||||||
- feature: 73_DoorBird: Manual Video_Request
|
- feature: 73_DoorBird: Manual Video_Request
|
||||||
|
@ -58,6 +58,7 @@ no if $] >= 5.017011, warnings => 'experimental::smartmatch';
|
|||||||
|
|
||||||
# Version History intern
|
# Version History intern
|
||||||
our %DbRep_vNotesIntern = (
|
our %DbRep_vNotesIntern = (
|
||||||
|
"8.32.4" => "15.03.2020 fix rights check for index operation ",
|
||||||
"8.32.3" => "10.03.2020 better logfile messages in some cases of index operation ",
|
"8.32.3" => "10.03.2020 better logfile messages in some cases of index operation ",
|
||||||
"8.32.2" => "01.03.2020 fix PERL WARNING: Argument \"\" isn't numeric in sprintf at ./FHEM/93_DbRep.pm line 10708 again ",
|
"8.32.2" => "01.03.2020 fix PERL WARNING: Argument \"\" isn't numeric in sprintf at ./FHEM/93_DbRep.pm line 10708 again ",
|
||||||
"8.32.1" => "08.02.2020 fix PERL WARNING: Argument \"\" isn't numeric in sprintf at ./FHEM/93_DbRep.pm line 10708 ",
|
"8.32.1" => "08.02.2020 fix PERL WARNING: Argument \"\" isn't numeric in sprintf at ./FHEM/93_DbRep.pm line 10708 ",
|
||||||
@ -6602,8 +6603,8 @@ sub DbRep_Index($) {
|
|||||||
my $bst = [gettimeofday];
|
my $bst = [gettimeofday];
|
||||||
|
|
||||||
# Rechte Check MYSQL
|
# Rechte Check MYSQL
|
||||||
if($cmdidx ne "list_all") {
|
if($cmdidx ne "list_all" && $dbmodel =~ /MYSQL/) {
|
||||||
if($dbmodel =~ /MYSQL/ && $grants && $grants ne "ALL PRIVILEGES") {
|
if($grants && $grants ne "ALL PRIVILEGES") {
|
||||||
# Rechte INDEX und ALTER benötigt
|
# Rechte INDEX und ALTER benötigt
|
||||||
my $i = index($grants,"INDEX");
|
my $i = index($grants,"INDEX");
|
||||||
my $a = index($grants,"ALTER");
|
my $a = index($grants,"ALTER");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user