Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have 'View user profiles' permission unchecked for non-authenticated role and for anonymous role. User with non-authenticated role can still see other user profiles.
Comment | File | Size | Author |
---|---|---|---|
#1 | lt.menu_access.patch | 950 bytes | hunmonk |
Comments
Comment #1
hunmonk CreditAttribution: hunmonk commentedplease try the attached patch to see if it resolves the issue. be sure to run update.php before testing, as this change involves changing a hook, so we need to make sure the implements cache is cleared.
let me know what happens...
Comment #2
hunmonk CreditAttribution: hunmonk commentedfyi this bug was introduced because of a change in the workflow from 6.x to 7.x of when hook_init() is called.
Comment #3
anglo CreditAttribution: anglo commentedThe patch resolved the issue. User with non-authenticated role and 'View user profiles' permission unchecked can't see other user profiles now.
Comment #4
hunmonk CreditAttribution: hunmonk commentedcommitted to 7.x-1.x-dev. since this is a critical bug, a new release will follow shortly.