Define specific tests for disabled super user access policy

Created on 16 April 2024, 11 months ago
Updated 13 September 2024, 6 months ago

Problem/Motivation

Since the arrival of 📌 Add a container parameter that can remove the special behavior of UID#1 Fixed , it is possible to disable the super user access policy added by default to user 1.

We need to add tests to confirm that Dashboard behaves as expected in that scenario.
See https://www.drupal.org/node/2910500 for instructions about how to proceed.

New tests will be added once 10.3 core version is released.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Needs review

Version

2.0

Component

Code

Created by

🇪🇸Spain plopesc Valladolid

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

Merge Requests

Comments & Activities

  • Issue created by @plopesc
  • First commit to issue fork.
  • Pipeline finished with Success
    6 months ago
    Total: 221s
    #280200
  • Pipeline finished with Failed
    6 months ago
    Total: 600s
    #280254
  • Pipeline finished with Success
    6 months ago
    Total: 244s
    #280275
  • Pipeline finished with Success
    6 months ago
    Total: 215s
    #280285
  • I have added the permission for createUser() & removed the unrelated code for all test.

    Please review, moving NR.

  • Status changed to Needs review 6 months ago
  • Status changed to Needs work 6 months ago
  • 🇪🇸Spain plopesc Valladolid

    Thank you for your work on this one @pooja_sharma.

    Checked the MR and might be that the issue summary is not explaining the needs properly.

    We are not expecting to refactor the way tests work with user and roles, that could be discussed in a different issue, though.

    What we need for this issue is to create a new test for scenarios where the Super user access policy is turned off and confirm that module is still working as expected. See change record .

  • Pipeline finished with Success
    6 months ago
    Total: 236s
    #282077
  • Status changed to Needs review 6 months ago
  • Tried to add test coverage with super user policy disabled, tried to test the functionality of some piece of code of module , apart from it nothing seems to left , correct me if I 'm missing anything.

    Please review, moving NR.

Production build 0.71.5 2024