diff --git a/db/migrations/001_create_users_table.sql b/db/migrations/001_create_users_table.sql new file mode 100644 index 0000000..3364118 --- /dev/null +++ b/db/migrations/001_create_users_table.sql @@ -0,0 +1,11 @@ +CREATE TABLE IF NOT EXISTS `users` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `username` varchar(50) NOT NULL, + `password` varchar(255) NOT NULL, + `email` varchar(100) NOT NULL, + `role` enum('Admin','User/Member','Viewer','Auditor') NOT NULL DEFAULT 'User/Member', + `created_at` datetime DEFAULT CURRENT_TIMESTAMP, + PRIMARY KEY (`id`), + UNIQUE KEY `username` (`username`), + UNIQUE KEY `email` (`email`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; diff --git a/includes/header.php b/includes/header.php index c745022..5581109 100644 --- a/includes/header.php +++ b/includes/header.php @@ -1,4 +1,4 @@ - +
@@ -42,9 +42,18 @@A professional, simple, and secure platform for sharing files with your team and clients.
- Get Started - Login -CoffreFort provides a secure environment where you can upload, manage, and share your important files. Say goodbye to insecure email attachments and consumer-grade file sharing services.
-Built for businesses and professionals who need control and visibility over their shared data. Manage users, set permissions, and track activity with ease.
+ + +This is your private area. More features will be added soon.
+ + +Everything you need to collaborate securely.
-Admins have full control over user accounts, ensuring only authorized individuals can access the system. Self-registration is disabled to maintain a secure, private environment.
+Manage your documents here.
+ Go to DocumentsAssign roles like Admin, User, Viewer, and Auditor to manage permissions effectively. Each role has specific capabilities, from full control to view-only access.
+Manage users here.
+ Go to UsersKeep track of all activity with detailed audit logs. Receive automated alerts for important events like new user sign-ups and storage quotas nearing their limit.
+System settings.
+ Go to SettingsHave questions? We'd love to hear from you. Fill out the form below and we'll get back to you as soon as possible.
- + + + +A professional, simple, and secure platform for sharing files with your team and clients.
+ Get Started + Login +CoffreFort provides a secure environment where you can upload, manage, and share your important files. Say goodbye to insecure email attachments and consumer-grade file sharing services.
+Built for businesses and professionals who need control and visibility over their shared data. Manage users, set permissions, and track activity with ease.
+Everything you need to collaborate securely.
+Admins have full control over user accounts, ensuring only authorized individuals can access the system. Self-registration is disabled to maintain a secure, private environment.
+Assign roles like Admin, User, Viewer, and Auditor to manage permissions effectively. Each role has specific capabilities, from full control to view-only access.
+Keep track of all activity with detailed audit logs. Receive automated alerts for important events like new user sign-ups and storage quotas nearing their limit.
+Have questions? We'd love to hear from you. Fill out the form below and we'll get back to you as soon as possible.
+ +