Issue Bug Closed

#17161Access rights where checked by two functions

Robert Heel 03/27/07, 15:36 updated 09/06/13, 09:07

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.