Issue #3231184: ResourceTestBase::setUpAuthorization references wrong permission grant methods
Open
requested to merge issue/drupal-3231184:3231184-resourcetestbasesetupauthorization-references-wrong into 10.1.x
1 unresolved thread
Merge request reports
Activity
607 607 /** 608 608 * Sets up the necessary authorization. 609 609 * 610 * In case of a test verifying publicly accessible REST resources: grant 611 * permissions to the anonymous user role. 612 * 613 * In case of a test verifying behavior when using a particular authentication 614 * provider: create a user with a particular set of permissions. 615 * 616 610 * Because of the $method parameter, it's possible to first set up 617 * authentication for only GET, then add POST, et cetera. This then also 611 * authorization for only GET, then add POST, et cetera. This then also 618 612 * allows for verifying a 403 in case of missing authorization. 619 613 * 620 614 * @param string $method 621 615 * The HTTP method for which to set up authentication. changed this line in version 3 of the diff
Please register or sign in to reply