Skip to content

Commit

Permalink
Merge pull request #3 from lilfade/dev
Browse files Browse the repository at this point in the history
Update Install file
  • Loading branch information
lilfade committed May 29, 2014
2 parents 3594275 + 5e74c2e commit 78c1259
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion install/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,13 +181,23 @@
// Sample action permits, should probably change these at some point since root user should automatically have permission for
// all actions
$user_action_permits_entry = "INSERT INTO `".$db_table_prefix."user_action_permits` (`id`, `user_id`, `action`, `permits`) VALUES
(1, 1, 'updateUserEmail', 'isLoggedInUser(user_id)&isActive(user_id)'),
(1, 1, 'updateUserEmail', 'always()'),
(2, 1, 'loadUser', 'always()'),
(3, 1, 'loadUsers', 'always()'),
(4, 1, 'deleteUser', 'always()'),
(5, 1, 'activateUser', 'always()'),
(6, 1, 'loadGroups', 'always()'),
(7, 1, 'loadUserGroups', 'always()');
(8, 1, 'loadConfigParameters', 'always()'),
(9, 1, 'updateUser', 'always()'),
(10, 1, 'updateUserDisplayName', 'always()'),
(11, 1, 'updateUserTitle', 'always()'),
(12, 1, 'updateUserPassword', 'always()'),
(13, 1, 'updateUserEnabled', 'always()'),
(14, 1, 'updateGroup', 'always()'),
(15, 1, 'createGroup', 'always()'),
(16, 1, 'deleteGroup', 'always()'),
(17, 1, 'updateUserEnabled', 'always()');
";

$db = pdoConnect();
Expand Down

0 comments on commit 78c1259

Please sign in to comment.