rolling-scopes / rsschool-app

An application for the RS School education process
https://app.rs.school
Mozilla Public License 2.0
9.91k stars 203 forks source link

[BUG] Loss of access to mentoring in the Angular course (angular-2024Q3) #2513

Closed RomanGorenkov closed 2 months ago

RomanGorenkov commented 2 months ago

Access to the platform and students GitHub has been lost.

Steps to reproduce the behavior

  1. Mentor's GitHub: RomanGorenkov (https://github.com/RomanGorenkov)
  2. Students' GitHub: peachess-dev, shramkoweb, hapikus

Expected behavior Access to the platform and GitHubs for checking tasks and grading.

Screenshots Student's GitHub image

Platform (https://app.rs.school/course/mentor/students?course=angular-2024Q3) image

Additional context It looks like the platform no longer considers me as a mentor. When parsing a JWT token, I get the following data:

{
  "id": 951,
  "isAdmin": false,
  "isHirer": false,
  "githubId": "romangorenkov",
  "appRoles": [
    "user"
  ],
  "roles": {
    "1": "student",
    "11": "student",
    "65": "student"
  },
  "courses": {
    "1": {
      "roles": [
        "student"
      ],
      "studentId": 239
    },
    "11": {
      "roles": [
        "student"
      ],
      "studentId": 6664,
      "isExpelled": true
    },
    "65": {
      "roles": [
        "student"
      ],
      "studentId": 85513
    }
  },
  "iat": 1720963933,
  "exp": 1721136733
}
valerydluski commented 2 months ago

This is not a bug. As I understand it, you have two GitHub accounts. You registered as a mentor with the GitHub account "romangorenkovhiqo."

RomanGorenkovHiQo commented 2 months ago

Yes you are right. This is my work email 😥. I had to clean the cookies with my hands and re-login.