Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Directors must be able to manage teacher accounts #2

Closed
josepostiga opened this issue Jul 20, 2021 · 0 comments · Fixed by #17
Closed

Directors must be able to manage teacher accounts #2

josepostiga opened this issue Jul 20, 2021 · 0 comments · Fixed by #17
Assignees
Labels
story New feature or request

Comments

@josepostiga
Copy link
Owner

josepostiga commented Jul 20, 2021

Scenario

As a Director
I should be able to access teacher accounts
So that I can create/update/delete teachers

Description

In order to get users into the system, and since this type of software doesn't work well with public registrations, it needs another authenticated account to start inviting teachers into it. That's one of the main purposes of the Director account. By creating new teacher accounts, the system will send out an invitation to the given email registered. This email is intended for the new teachers to validate their address, set an initial password, and then login into the system.

When updating the teacher accounts, the email and password properties shouldn't be updatable. The email property, however, must be visible, though, to allow for visual confirmation of the information inputted.

The deletions should be soft, meaning that no record will actually be removed from the system but, instead, a date property dedicated to simulating deletes must be filled when that action is executed.

Database and schema information

Two new account types should be accepted in the user table: TEACHER and HEADTEACHER. The email_verified_at column should be kept null until the email validation link is clicked.

Don't forget to confirm that a deleted_at column exists, as teachers can be soft-deleted.

Additional requirements

Only after the email validation link is clicked, is that the new teacher account can be used to login into the system.

The HEADTEACHER account type will be used to differentiate access permissions between teacher accounts, as this type should allow access to more sensitive information, like parents' information and disciplinary actions taken for a student.

@josepostiga josepostiga added the story New feature or request label Jul 20, 2021
@josepostiga josepostiga self-assigned this Jul 20, 2021
@josepostiga josepostiga changed the title Director users must be able to manage teacher accounts Directors must be able to manage teacher accounts Jul 20, 2021
@josepostiga josepostiga linked a pull request Sep 4, 2021 that will close this issue
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
story New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant