Skip to content
Snippets Groups Projects

Issue #3231184: ResourceTestBase::setUpAuthorization references wrong permission grant methods

Open Issue #3231184: ResourceTestBase::setUpAuthorization references wrong permission grant methods
1 unresolved thread
1 unresolved thread

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
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.
  • Matt Glaman changed the description

    changed the description

  • Matt Glaman changed target branch from 9.3.x to 10.1.x

    changed target branch from 9.3.x to 10.1.x

  • Matt Glaman resolved all threads

    resolved all threads

  • Matt Glaman added 1 commit

    added 1 commit

    • 12849079 - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • Please register or sign in to reply
    Loading