Review main Merged

43186[BUGFIX] PageLayoutView: Honor page permissions in getTable_tt_content()

Morton Jonuschat CR +2 V +2 Easy +1 −1 updated 09/11/15, 09:45

Commit message

The call to readPageAccess() expects a SQL fragment to check the page
permissions but the raw integer value for the access rights was passed.
The resulting invalid part of the SQL statement (for example `AND 31`)
is ignored by MySQL but results in the permissions not being checked.

Translate the page permissions to the expected SQL fragment for
readPageAccess().

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1