Issue Bug Closed

#78991Edit button on page external table view is disabled when user only has edit permission

Johannes Schlier 12/14/16, 14:19 updated 10/02/18, 11:04

Description

I have a backend user with permissions to view/edit/delete only tt_address records that are present in the web>page module.

The problem is that the page info, which also includes the permissions, is not loaded in the getExternalTables function, only in the getTable_tt_content.
This means that in the following makeOrdinaryList call the test doesUserHaveAccess($this->pageinfo) gets passed null as the parameter, resulting in the bug that permission are always denied, even if they shouldn’t be.

Reviews 2