Lila: student account control panel disappears after removing student from class

Created on 14 May 2020  Â·  9Comments  Â·  Source: ornicar/lila

Reports of 150+ student accounts being released from class for example
https://lichess.org/@/FelixAEM is shown as released from https://lichess.org/class/dyxD5rWt but their email is still their class one. Main teacher account is EchecsMontreal.

Most helpful comment

Ok i found what is causing the issue: it happens when i remove a student from a class! When i add such a student back to a class i can no longer see the controls ("This student account is managed / DISABLE kid mode / reset password / release")

Specific student it happened with today: i removed a student from a class (JosephAEM) to add him to another class
and now the student is no longer managed (i don't see the control panel where i can release them, deactivate kid mode, etc)
however, when i log in this student's account, it still is "managed" for example i can't disable kid mode

All 9 comments

Hello good morning, I hope you can guide me and I have a question. I have a lichess account named Manuelman, and I only play with my iPhone cell phone because I don't have a computer and I have a daughter who also has a gretteledrey name account, and I lend her my cell phone so that she can play too, but since yesterday I can't enter neither through the app nor through the search engine, could you help me what can I do please?

Ok i found what is causing the issue: it happens when i remove a student from a class! When i add such a student back to a class i can no longer see the controls ("This student account is managed / DISABLE kid mode / reset password / release")

Specific student it happened with today: i removed a student from a class (JosephAEM) to add him to another class
and now the student is no longer managed (i don't see the control panel where i can release them, deactivate kid mode, etc)
however, when i log in this student's account, it still is "managed" for example i can't disable kid mode

And how can I solve this problem that I have, can you guide me please?

Obtener Outlook para iOShttps://aka.ms/o0ukef


De: wiseimmortal notifications@github.com
Enviado: Thursday, May 14, 2020 12:38:11 PM
Para: ornicar/lila lila@noreply.github.com
Cc: Manuelman grettelvelazquez@hotmail.com; Comment comment@noreply.github.com
Asunto: Re: [ornicar/lila] Students released from class with no teacher action - keeping class email address. (#6628)

Ok i found what is causing the issue: it happens when i remove a student from a class! When i add such a student back to a class i can no longer see the controls ("This student account is managed / DISABLE kid mode / reset password / release")

Specific student it happened with today: i removed a student from a class (JosephAEM) to add him to another class
and now the student is no longer managed (i don't see the control panel where i can release them, deactivate kid mode, etc)
however, when i log in this student's account, it still is "managed" for example i can't disable kid mode

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/ornicar/lila/issues/6628#issuecomment-628784507, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APSVJ3UOPISB7M6UDZTTXBDRRQUAHANCNFSM4NA3USGA.

Hey Manuel, this is not the place to solve your problem, can you please delete your comments here? Thank you

Looks like the managed account controls are only accessible from the original class the student was in. If you create a managed account in class A, then invite them to class B, you'll only see the controls is class A. If you remove them from class A, you won't have access to the controls anymore, but you can invite them back and get access back.

Not sure if this is intended? If it isn't, I can look into fixing it, but I would need confirmation of what's intended.

Thank you it would be great to have the managed account controls accessible any class the student is in, we change the student classes everytime they finish the course program for that class. Also it would be nice if they didn't have to accept the invitation when invited to another class, just like when we add them to the first class they don't need to accept.
Also: say i want to reset a password i would need to invite a student back to his original class, that he can never get back into because he doesn't have access to his account.

After delving into the code, it looks pretty tricky unfortunately. The "managed" status of an account is tied to the class. So when adding a managed account to another class, if we mark it as managed on there, then it would be marked as "managed" on 2 classes. Then if you were to release the account from 1 class, they would still be "managed" on the other class. You'd have to release them from all the classes. Which is weird...

I feel like the "managed" status should be tied to the raw account, not the class. But I'd need someone more experienced to chime in on this.

I don't mind having the managed status control panel on any class the student is in

Related: #6670
ie to be able to manage invited students

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nojoking picture nojoking  Â·  3Comments

aloisdg picture aloisdg  Â·  4Comments

goggle picture goggle  Â·  4Comments

nikolatzotchev picture nikolatzotchev  Â·  3Comments

ShRyDeR picture ShRyDeR  Â·  3Comments