User Stories - dagggu/guestbook GitHub Wiki
User Stories
Roles
- Administrator
- User
User Role Stories
As a user of the system, when I go to the main page, I should see a header and a list of messages. The heading should contain a logo, a registration button, and a login button. In each message, I should see the author’s login, message and the date the message was created.
As a user of the system, I would like to be able to register on the site. To do this, I have to click on the registration button in the header. After that, the registration form should appear. Since I don’t want to spend a lot of time on registration, the form should contain a minimal set of fields. The form should contain a login selection field, a mail field, a password, and a password replay field. After clicking on the registration button, the site should automatically log into the system and allow me to continue working. If the login is in the system or the passwords do not match, then the registration page should show the corresponding friendly error message.
As a registered and authorized user on the site, I would like to be able to create new messages. To do this, after registration and entering the system, a new message form appears on the main page. When you click on the Buzz button, a new message should be added to the system. If the message is empty, then we should receive a friendly error message. For each of my posts on the site, I would like to be able to delete them. For this, each of my messages should have a button to delete it. To exit the system, I would like to have the exit button from my account in the header of the site. When I click on this button, the site logs out of my account and redirects us to the main page.
As a registered but not authorized user, I would like to be able to log in with my account. To do this, the site should have a login button in the header. When I click on this button, I should be moved to the login form. The login form should contain two fields: login and password. Upon successful login, the site redirects us to the main page. If an error occurs, the site informs us of the error without details for security reasons.