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.
Comment | File | Size | Author |
---|---|---|---|
#6 | interdiff-remove-user_access-2306429-1-6.txt | 793 bytes | KarlKedrovsky |
#6 | remove-user_access-2306429-6.patch | 1.98 KB | KarlKedrovsky |
#1 | remove-user_access-2306429-1.patch | 1.21 KB | a_thakur |
Comments
Comment #1
a_thakur CreditAttribution: a_thakur commentedPlease find the attached file.
Comment #3
a_thakur CreditAttribution: a_thakur commentedComment #4
a_thakur CreditAttribution: a_thakur commentedChanging status, will update this when https://www.drupal.org/node/2062043 is fixed.
Comment #5
KarlKedrovsky CreditAttribution: KarlKedrovsky commented#2062043: Replace user_access() calls with $account->hasPermission() in core files is fixed. Un-postponing this issue.
I'm going to review this now.
Comment #6
KarlKedrovsky CreditAttribution: KarlKedrovsky commentedI looked at the patch and ensured that all the comments and the function were removed and that no additional lines were added or change.
I searched the Drupal 8 code base to ensure no other references to the function existed and found a reference to the old function in a callback description that I believe should have been changed to the new method.
I also found the following similar functions or strings that I do not think we need to change:
Am I right that these two thing don't need to be changed.
Comment #7
socketwench CreditAttribution: socketwench commentedReviewing...
Comment #8
socketwench CreditAttribution: socketwench commentedLooks good to me.
Comment #9
alexpottCan we add this issue to the relevant change record. Thanks.
Comment #10
a_thakur CreditAttribution: a_thakur commentedDone. Please check https://www.drupal.org/node/2049309
Comment #11
ParisLiakos CreditAttribution: ParisLiakos commentedComment #12
alexpottCommitted 53b024d and pushed to 8.x. Thanks!