Professional Documents
Culture Documents
Problem 3
Problem 3
Project Description
Our Crew Project is a web application that requires user authentication and role
management using PHP. The project has multiple user roles such as admin, manager,
and user. Each role has different access permissions to various parts of the
application.
Requirements
Please create a PHP script that implements user authentication and role management
for Our Crew Project.
Tasks
Implement a registration process that validates the form data and saves the new
user's details.
Implement a login process that authenticates the user's credentials and sets a
session.
Implement access control to ensure only admins can access the role management page.
On the role management page, add the functionality to create, edit, and delete user
roles.
Implement access control to ensure only admins can perform role management
operations.
Update the login process to redirect different roles to different pages upon
successful login.