diff options
author | Udo Walter | 2017-04-07 15:49:54 +0200 |
---|---|---|
committer | Udo Walter | 2017-04-07 15:49:54 +0200 |
commit | d033483d3ed9e05f1109a3713ec6a3df883a1dae (patch) | |
tree | 13df2276d6c137901d87ea5daf23464e5c7bb869 /modules-available/permissionmanager/install.inc.php | |
parent | [permission-manager] added possibility to select all permissions (diff) | |
download | slx-admin-d033483d3ed9e05f1109a3713ec6a3df883a1dae.tar.gz slx-admin-d033483d3ed9e05f1109a3713ec6a3df883a1dae.tar.xz slx-admin-d033483d3ed9e05f1109a3713ec6a3df883a1dae.zip |
[permission-manager] renamed some files, moved html generation to templates,
using bind variables in mysql code, changed order of modules in role editor
Diffstat (limited to 'modules-available/permissionmanager/install.inc.php')
-rw-r--r-- | modules-available/permissionmanager/install.inc.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules-available/permissionmanager/install.inc.php b/modules-available/permissionmanager/install.inc.php index 2d408f38..8c882498 100644 --- a/modules-available/permissionmanager/install.inc.php +++ b/modules-available/permissionmanager/install.inc.php @@ -8,19 +8,19 @@ $res[] = tableCreate('role', " PRIMARY KEY (`id`) "); -$res[] = tableCreate('userXrole', " +$res[] = tableCreate('user_x_role', " `userid` int(10) unsigned NOT NULL, `roleid` int(10) unsigned NOT NULL, PRIMARY KEY (`userid`, `roleid`) "); -$res[] = tableCreate('roleXlocation', " +$res[] = tableCreate('role_x_location', " `roleid` int(10) unsigned NOT NULL, `locid` int(10) unsigned NOT NULL, PRIMARY KEY (`roleid`, `locid`) "); -$res[] = tableCreate('roleXpermission', " +$res[] = tableCreate('role_x_permission', " `roleid` int(10) unsigned NOT NULL, `permissionid` varchar(200) NOT NULL, PRIMARY KEY (`roleid`, `permissionid`) |