#17161Access rights where checked by two functions
Description
I would like to extend the user access rights, so I used the hook in the function “calcPerms” (which is called by “doesUserHaveAccess) to do this.
Not all actions where affected by this, and I found out that in “class.t3lib_tcemain.php” the function “doesRecordExist” uses another function (“doesRecordExist_pageLookUp”) to check the access rights. Is this function needed anymore?
I have changed the function “doesRecordExist” to use “doesUserHaveAccess” (see .diff). That works for me, but I don’t know if this have any negative effects.
(issue imported from #M5308)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.