Changeset 808 for trunk/install


Ignore:
Timestamp:
Aug 8, 2005, 10:52:19 PM (19 years ago)
Author:
plg
Message:
  • new : external authentication in another users table. Previous users table is divided between users (common properties with any web application) and user_infos (phpwebgallery specific informations). External table and fields can be configured.
  • modification : profile.php is not reachable through administration anymore (not useful).
  • modification : in profile.php, current password is mandatory only if user tries to change his password. Username can't be changed.
  • deletion : of obsolete functions get_user_restrictions, update_user_restrictions, get_user_all_restrictions, is_user_allowed, update_user
  • modification : user_forbidden table becomes user_cache so that not only restriction informations can be stored in this table.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/install/phpwebgallery_structure.sql

    r801 r808  
    213213
    214214--
    215 -- Table structure for table `phpwebgallery_user_forbidden`
    216 --
    217 
    218 DROP TABLE IF EXISTS `phpwebgallery_user_forbidden`;
    219 CREATE TABLE `phpwebgallery_user_forbidden` (
     215-- Table structure for table `phpwebgallery_user_cache`
     216--
     217
     218DROP TABLE IF EXISTS `phpwebgallery_user_cache`;
     219CREATE TABLE `phpwebgallery_user_cache` (
    220220  `user_id` smallint(5) unsigned NOT NULL default '0',
    221221  `need_update` enum('true','false') NOT NULL default 'true',
     
    236236
    237237--
    238 -- Table structure for table `phpwebgallery_users`
    239 --
    240 
    241 DROP TABLE IF EXISTS `phpwebgallery_users`;
    242 CREATE TABLE `phpwebgallery_users` (
    243   `id` smallint(5) unsigned NOT NULL auto_increment,
    244   `username` varchar(20) binary NOT NULL default '',
    245   `password` varchar(32) default NULL,
    246   `mail_address` varchar(255) default NULL,
     238-- Table structure for table `phpwebgallery_user_infos`
     239--
     240
     241DROP TABLE IF EXISTS `phpwebgallery_user_infos`;
     242CREATE TABLE `phpwebgallery_user_infos` (
     243  `user_id` smallint(5) unsigned NOT NULL default '0',
    247244  `nb_image_line` tinyint(1) unsigned NOT NULL default '5',
    248245  `nb_line_page` tinyint(3) unsigned NOT NULL default '3',
     
    258255  `feed_id` varchar(50) binary default NULL,
    259256  `registration_date` datetime NOT NULL default '0000-00-00 00:00:00',
     257  UNIQUE KEY `user_infos_ui1` (`user_id`)
     258) TYPE=MyISAM;
     259
     260--
     261-- Table structure for table `phpwebgallery_users`
     262--
     263
     264DROP TABLE IF EXISTS `phpwebgallery_users`;
     265CREATE TABLE `phpwebgallery_users` (
     266  `id` smallint(5) unsigned NOT NULL auto_increment,
     267  `username` varchar(20) binary NOT NULL default '',
     268  `password` varchar(32) default NULL,
     269  `mail_address` varchar(255) default NULL,
    260270  PRIMARY KEY  (`id`),
    261271  UNIQUE KEY `users_ui1` (`username`)
Note: See TracChangeset for help on using the changeset viewer.