tac_lite causes errors with new users (with patch)

Created on 1 October 2009, almost 16 years ago
Updated 27 June 2025, 10 days ago

Hi,

I'm seeing errors on the first page seen by a new user. The errors are caused by tac_lite calling user_access() when the user hasn't been fully initialised. In my case I was seeing the problem on a Drupal install which used both tac_lite and webserver_auth.

I've done a trivial patch to the tac_lite_user() hook so that it only calls user_access() for ops that tac_lite cares about. As well as fixing my error I guess that this will be a (tiny) performance improvement.

Steve.

🐛 Bug report
Status

Closed: outdated

Version

1.3

Component

Code

Created by

🇬🇧United Kingdom bennetts2

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024