Commit graph

370 commits

Author SHA1 Message Date
toyomoyo
68c5252623 adding functions and interface for access control - role assignment and role overrides 2006-08-18 08:01:16 +00:00
skodak
7949356d64 fixed missing '}' 2006-08-17 22:49:21 +00:00
stronk7
de16da7293 adding role_allow_assign , role_allow_override table and dropping role_deny_grant
NOTE: Need to confirm that both these fields:
    role_allow_assign->allowassign and
    role_allow_override->allowoverride
are pointing to role->id (this is the assumption I've done, so I've
created them as FKs)
2006-08-17 19:16:07 +00:00
toyomoyo
f9e2f481df adding role_allow_assign , role_allow_override table and dropping role_deny_grant 2006-08-17 08:58:51 +00:00
stronk7
54121a7921 permission has to be signed integer in mysql. Mimic from sql files 2006-08-16 16:06:37 +00:00
toyomoyo
77d4953ee2 bumpoing up version, permission has to be signed integer in mysql!!! added new capabilities in access.php 2006-08-16 07:57:51 +00:00
vyshane
a028c29187 Added new capabilities 2006-08-15 04:13:22 +00:00
stronk7
b08eda731b Added one FK (recursive) to course_categories 2006-08-11 18:41:39 +00:00
stronk7
a1bdf659ad Adding latest changes, FKs and indexes. 2006-08-10 09:25:52 +00:00
toyomoyo
2a1ab5ecf2 name should be unique key, and should be length 255 2006-08-10 09:07:15 +00:00
toyomoyo
7952cb34ef changing name field in capabilities table to 255 2006-08-10 09:02:21 +00:00
toyomoyo
bcf214dfc4 adding keys for new tables, added migration support too 2006-08-10 08:20:16 +00:00
toyomoyo
c04ba75f8f merged fix for a bug when user's lang is not set, fall back to site lang 2006-08-10 02:43:22 +00:00
moodler
2ad25548c6 Fixed some typos. Thanks Tim! 2006-08-09 14:01:14 +00:00
moodler
f10306b9e2 Removed tabs 2006-08-09 14:00:51 +00:00
vyshane
53d7785b4a Added moodle/site:viewfullnames 2006-08-09 09:16:35 +00:00
toyomoyo
07a9cdb544 tables went missing =( 2006-08-09 04:00:44 +00:00
stronk7
5a1d835487 Adding some unsigned keywords here and there and implementing role tables 2006-08-08 09:04:55 +00:00
toyomoyo
90f7a7d509 adding unsigned 2006-08-08 08:30:10 +00:00
vyshane
27950688bb Added moodle/site:accessallgroups capability. 2006-08-08 06:45:25 +00:00
moodler
bbbf2d4015 ROLES AND PERMISSIONS - FIRST CHECK-IN
=======================================

WARNING:  DEV IS CURRENTLY VERY UNSTABLE.

This is a mega-checkin of the new Roles system.   A lot of changes have
been made in core and modules.

Currently there are a lot of rough edges and known problems.  We are
working hard on these .. .the reason for getting this into HEAD at this
stage is enable us to move faster (our branch was diverging from HEAD
too much).

Please keep an eye on http://docs.moodle.org/en/Roles for current status
and information for developers on how to use the new Roles system.
2006-08-08 05:13:06 +00:00
stronk7
67d7d69494 Initial XMLDB implementation of Moodle Core. 2006-08-07 17:38:06 +00:00
skodak
889e6b46f4 Bug #6147 - Upgrade from 1.5.x breaks with Postgres 7.4.x
Even though Postgres 7.4.x is officially supported, several upgrade scripts use syntax that only works in Postgres 8.x. and it's impossible to finish the upgrade.

The attached patch fixes those scripts.

Saludos. I�aki.

Author: I�aki Arenaza
Review: Jun Yamog, Martin Langhoff

merged from MOODLE_16_STABLE
2006-07-31 18:04:10 +00:00
stronk7
d272c2feb8 Fixing one recently added DB upgrade. Please be careful on STABLE!
Mimic from MOODLE_16_STABLE
2006-07-18 16:35:15 +00:00
toyomoyo
2256c10d36 merged changing of feedback for the function that handles user table 2006-07-11 03:36:13 +00:00
toyomoyo
8ab2baa8f3 merged fix for a problem where globallang is not respected in user table 2006-07-05 01:55:29 +00:00
stronk7
9fd0678fdd The absolutely incredible bug! It was working being wrong! Bug 5775.
(http://moodle.org/bugs/bug.php?op=show&bugid=5775)

Merged from MOODLE_16_STABLE
2006-06-09 14:23:55 +00:00
stronk7
d96466d29f Moving from lastIP to lastip everywhere. Bug 5763.
(http://moodle.org/bugs/bug.php?op=show&bugid=5763)

Merged from MOODLE_16_STABLE
2006-06-09 10:04:43 +00:00
stronk7
d836482a34 Moving from lastIP to lastip everywhere. Bug 5763.
(http://moodle.org/bugs/bug.php?op=show&bugid=5763)

Merged (more or less) from MOODLE_16_STABLE
2006-06-09 09:47:01 +00:00
toyomoyo
1c994d89f8 merged, changed recordsize to 50 2006-06-08 02:46:45 +00:00
toyomoyo
92cf4ecc12 merged, changes made to process user table on row basis. added migrate2utf8_user function. please help test and report bugs! 2006-06-07 04:11:10 +00:00
stronk7
ae57b07c06 report XXXX actions added. Bug 5714.
(http://moodle.org/bugs/bug.php?op=show&bugid=5714)

More or less, merged from MOODLE_16_STABLE
2006-06-04 00:54:34 +00:00
toyomoyo
22a92ee224 merged dropping backticks 2006-05-25 02:07:48 +00:00
toyomoyo
462458c66b renaming reads and writes to statsreads and statswrites 2006-05-24 05:07:22 +00:00
tjhunt
450a0a7db7 Merge from stable branch: Convert tabs to spaces in files where there were only a few rogue tabs. 2006-05-17 16:47:44 +00:00
martinlanghoff
05acf8e974 moodle16cleanup: lib/db correct prefix, patch by Tim Hunt for bug 5515 2006-05-17 06:43:21 +00:00
martinlanghoff
ccd218ee4b moodle16cleanup: lib/db correctly put the default values, change the
length of log_display.module which is just 20 chars on postgres7.sql
2006-05-17 06:36:31 +00:00
martinlanghoff
f172091567 moodle16cleanup: mod/dialog we need to drop some more dialog module tables 2006-05-17 06:34:19 +00:00
stronk7
ef668fcf99 Changing session->data to medium text. Bug 5406.
(http://moodle.org/bugs/bug.php?op=show&bugid=5406)

Merged from MOODLE_16_STABLE
2006-05-08 16:39:34 +00:00
vyshane
36914ff6a7 Changed the 'module' field length to 20 in the log_display table (Bug #5419).
Previous commit message in 1.6 stable should read 'log_display table' instead
of 'log' table. Both fixes are identical and carried over to HEAD via a merge.
2006-05-08 03:16:04 +00:00
vyshane
7235ae23f1 Fix for Bug #5419 - Inconsistency between log_display and log tables 2006-05-05 08:42:29 +00:00
toyomoyo
e503f30d10 merged fix for 5426 2006-05-04 09:40:33 +00:00
toyomoyo
8d92d7ad71 info column is missing a key 2006-05-01 02:34:29 +00:00
toyomoyo
0327c40abb bug fix for 5303. hope i didn't break anything >_< 2006-04-28 03:18:56 +00:00
toyomoyo
cb24115c8e trying to change all the default NULL fields to NOT NULL default '0'/'', hope i didn't mess up. Please report any bugs asap! 2006-04-26 05:48:04 +00:00
vyshane
c343bc8831 Fixing inserts for log_display table. 2006-04-24 08:55:29 +00:00
vyshane
4dd8464f3d Fixed insert statements for log_display table 2006-04-24 08:02:17 +00:00
vyshane
cfd2188118 Fixed insert error for log_display 2006-04-24 07:55:06 +00:00
vyshane
cfd8facee6 Added primary key definition for log_display 2006-04-24 07:44:27 +00:00
toyomoyo
3dba170e7d adding dropindex and addindex for modified tags table 2006-04-24 06:20:30 +00:00