Uploaded image for project: 'ngrinder'
  1. ngrinder
  2. NGRINDER-724

SVN access from followers is denied

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.2.3
    • Fix Version/s: 3.3
    • Component/s: controller
    • Labels:
      None

      Description

      SVN access from followers is denied.
      Mistakenly, The follower permission check is coded like the followings.

      {code}

      List<User> owners = user.getOwners();
      for (User each : owners) {
      if (realm.equals(each.getUserName())) { return ACCESS_GRANTED; }
      }{code}

      Here, realm should be compared with UserID not userName.
      If the user id and user name are not same, the follower check is failed and the access will be denied.

        Activity

        Hide
        junoyoon JunHo Yoon added a comment -

        Fixed

        Show
        junoyoon JunHo Yoon added a comment - Fixed

          People

          • Assignee:
            junoyoon JunHo Yoon
            Reporter:
            junoyoon JunHo Yoon
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: