Closed sre42 closed 8 years ago
This is what a student is seeing:
Hi @Omarasifshaikh,
I am seeing repeated errors in the site saying: "You are forbidden from performing this action on GitHub".
This is a known problem in GitHub Classroom and we are working on a solution.
This problem occurs when teachers try to accept assignments using their own GitHub account. When accepting an invitation, we reduce the permission scope we have for them and they will not be able to create assignments anymore using the reduced permission scope.
To resolve this issue, please log out from GitHub Classroom and log back in.
It appears that the repository is being created, the template is being cloned. But the individual student is not being assigned as a contributor.
To temporarily fix this, you can manually add the student to the assignment repo as a contributor.
Sorry for causing this trouble for you. We are currently working on this problem. However, to prevent it from happening again, please notice not to try out accepting the assignment invitation using teachers' GitHub account.
Related: #445
@dinever Thanks for the quick response. I have 55 students int the class, and they don't all accept the assignment at the same time. Thus would not be very practical to manually add them myself here.
Do you recommend me using teachers_pet for now?
https://github.com/education/teachers_pet
Btw, I have tried the below, and have been unable to solve the problem:
The students still see the error.
Hi @Omarasifshaikh
Is there any other teachers in your organizations? If so, they might need to log out and log in again too.
@Omarasifshaikh I looked at your teachers and all of them have the correct token scopes.
I'll investigate this today, sorry for the trouble.
@tarebyte Thanks for verifying that. Classroom is a great app and I have enjoyed using it this semester. Please let me know If I can contribute in any way to fix the issue.
Thanks!!
@Omarasifshaikh It looks like you have multiple admin users on your organization and that you have been using one of them for testing.
Please try the following steps and report back:
It's important that all organization administrators do this. Once you've tried it out, please let us know if you're still having trouble.
@johndbritton I will try to get in touch with my TA and do some more testing later. For now I have used teachers_pet to create repositories for all students (I had a list of GitHub usernames). Creation of all the repositories at once also made it easier to enable Travis on all of them in one go.
I am seeing repeated errors in the site saying: "You are forbidden from performing this action on GitHub".
The students are also not being assigned to their repositories. They receive the error "You are forbidden from performing this action on github.com"
It appears that the repository is being created, the template is being cloned. But the individual student is not being assigned as a contributor.