 ('Upload:main', 1),
 ('Upload:remove', 2),
 ('User:add', 3),
+('User:admin', 1),
 ('User:edit', 3),
 ('User:main', 0),
+('User:permissions', 4),
 ('User:rights', 4);
+
+-- --------------------------------------------------------
 
 --
 -- Table structure for table `Roles`

 ADD PRIMARY KEY (`id`);

--
-- Indexes for table `users`
--
ALTER TABLE `users`
 ADD PRIMARY KEY (`id`);

--

-- --------------------------------------------------------

--
-- Table structure for table `Users`
--

CREATE TABLE IF NOT EXISTS `Users` (
`id` int(11) NOT NULL,
  `username` varchar(100) NOT NULL,
  `password` varchar(100) NOT NULL,
  `firstname` varchar(50) NOT NULL,
  `lastname` varchar(50) DEFAULT NULL,
  `permission` int(1) NOT NULL,
  `image_id` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `Users_Images`
--

CREATE TABLE IF NOT EXISTS `Users_Images` (
`id` int(11) NOT NULL,
  `image_name` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
