- Issue created by @vensires
- ๐ฎ๐ณIndia pradhumanjainOSL
pradhumanjain2311 โ made their first commit to this issueโs fork.
- Merge request !7587Issue #3439833: Remove $usesSuperUserAccessPolicy Varibale. โ (Closed) created by Unnamed author
- First commit to issue fork.
It was quite challenging to fix it as compare to the other similar child issues, as well interesting to make it working with required changes.
Addressed the mentioned changes superuser dependency code needs to remove & added respective permissions.
Please review, move NR.
- Status changed to Needs review
4 months ago 12:01pm 9 July 2024 - Status changed to Needs work
4 months ago 2:41pm 9 July 2024 - ๐บ๐ธUnited States smustgrave
Left some comments.
The tests shouldn't change but just getting the permissions right for the user.
- Status changed to Needs review
3 months ago 6:34pm 5 August 2024 I have updated minimum perms, also tried to reply on the queries.
Please review & passing for NR.
- Status changed to Needs work
3 months ago 8:44pm 7 August 2024 - ๐บ๐ธUnited States smustgrave
Saving credit for those who have worked on the issue thus far in meaningful way.
Left a comment on the MR.
- Status changed to Needs review
3 months ago 4:19pm 8 August 2024 - Status changed to Needs work
3 months ago 4:38pm 8 August 2024 - ๐บ๐ธUnited States smustgrave
Sorry comment still stands we don't need to visit the permission page to add permissions. There are test methods like grantPermissions for such.
- Status changed to Needs review
3 months ago 2:07pm 9 August 2024 Removed the additional http request to assign perms , as per suggestion added API() to grant perms.
Left comment on the MR as well, Please review, moving NR.
- Status changed to Needs work
3 months ago 3:07pm 14 August 2024 - Status changed to Needs review
3 months ago 3:40pm 14 August 2024 I have left comment on the MR, maybe not sure we can keep it in NR for other reviewers (for last open thread)
- ๐บ๐ธUnited States smustgrave
Yea I don't think this is correct so will let someone pick up.
- Status changed to RTBC
3 months ago 6:01pm 31 August 2024 - ๐บ๐ธUnited States smustgrave
Going to mark to see what a core committer things. Alternative would be to create a role and use that ID for grantPermissions.
- Status changed to Needs work
2 months ago 6:00am 2 September 2024 - ๐ณ๐ฟNew Zealand quietone
ContentTranslationTestBase which is used by several of these tests provides methods to assign the permissions for the administrator, editor and translator. I think we should continue to that approach and override those methods to assign the permissions in these tests. Such as is done in \Drupal\Tests\node\Functional\NodeTranslationUITest::getAdministratorPermissions(). Or am I missing something?
- Status changed to Needs review
2 months ago 8:47am 3 September 2024 ContentTranslationTestBase which is used by several of these tests provides methods to assign the permissions for the administrator, editor and translator. I think we should continue to that approach and override those methods to assign the permissions in these tests. Such as is done in \Drupal\Tests\node\Functional\NodeTranslationUITest::getAdministratorPermissions().
Go through the whole code for suggested approach, used it, this addressed both reviewer feedback. Please review, move NR.
- Status changed to RTBC
2 months ago 12:52am 4 September 2024 - Status changed to Needs work
2 months ago 6:31am 4 September 2024 - ๐ณ๐ฟNew Zealand quietone
Back to needs work because of differences in the html output of ContentTranslationRevisionTranslationDeletionTest.php
- Status changed to Needs review
2 months ago 7:50am 4 September 2024 While debugging I have comment root user code ContentTranslationRevisionTranslationDeletionTest, due to which at that time I think need to add perms for editor (as test html output of 272 pages due to this happen), tried to add perm for appropriate user role, the tried to compare the output (ContentTranslationRevisionTranslationDeletionTest) with & without diff it's same.
PLease review , moving NR.
- ๐ณ๐ฟNew Zealand quietone
I have not reviewed the actual change, I'll leave that to someone else so I can commit this.
- Status changed to RTBC
2 months ago 12:49pm 4 September 2024 -
quietone โ
committed a11d7e47 on 10.3.x
Issue #3439833 by pooja_sharma, smustgrave, vensires: Fix Content...
-
quietone โ
committed a11d7e47 on 10.3.x
-
quietone โ
committed 7606575b on 10.4.x
Issue #3439833 by pooja_sharma, smustgrave, vensires: Fix Content...
-
quietone โ
committed 7606575b on 10.4.x
-
quietone โ
committed 4c1506bf on 11.0.x
Issue #3439833 by pooja_sharma, smustgrave, vensires: Fix Content...
-
quietone โ
committed 4c1506bf on 11.0.x
-
quietone โ
committed 9e76aa57 on 11.x
Issue #3439833 by pooja_sharma, smustgrave, vensires: Fix Content...
-
quietone โ
committed 9e76aa57 on 11.x
- Status changed to Fixed
2 months ago 1:42am 5 September 2024 - ๐ณ๐ฟNew Zealand quietone
Committed and pushed to 11.x, 11.0.x, 10.4.x and 10.3.x because it is a test only change.
- ๐บ๐ธUnited States smustgrave
Thanks for sticking with this one @pooja_sharma
- ๐ณ๐ฟNew Zealand quietone
@pooja_sharma, your welcome. And I appreciate your attention to the details , comments on what you found while working on an issue, and staying with the an issue until it is fixed. :-)
@quietone, Thanks for recognizing my efforts & dedication, your support, it means a lot to me . I 'd also like to mention, community members are really helpful & supportive, it's been wonderful opportunity to contribute here.
It's amazing to get appreciation from you , when I start contribution few months ago this feedback I got โจ Disabled update module shouldn't produce a status report warning Needs work at that time understand your concerns & I thought one day I definitely 'll get appreciation from you & here it is finally ๐ Fix Content Translation tests that rely on UID1's super user behavior Active ;-)
Automatically closed - issue fixed for 2 weeks with no activity.