skodak
681729b16e
various minor Role UI fixes
2006-09-19 17:34:29 +00:00
skodak
b22c03ce99
RISK_ADMIN replaced with RISK_CONFIG, part 2.
2006-09-19 10:26:35 +00:00
toyomoyo
9c37662f22
replacing deprecated funciton calls with capability calls
2006-09-19 09:16:24 +00:00
skodak
a6b02b652b
RISK_ADMIN replaced with RISK_CONFIG
2006-09-19 07:33:22 +00:00
moodler
3f5edbdfa3
If the search and replace affected course->modinfo then courses may not work,
...
so clear the cache
2006-09-19 07:08:19 +00:00
toyomoyo
d76a5a7fed
replacing references to user_* tables
2006-09-19 01:44:33 +00:00
skodak
21b6db6eff
added capabilty risks into access.php and GUI for define role and override; minor fixes for capability types in forum
2006-09-18 21:32:49 +00:00
skodak
31f267963a
MDL-6568 shortname added to roles
2006-09-18 17:40:22 +00:00
moodler
a229726a11
Fixing debugging
2006-09-18 13:36:17 +00:00
skodak
dca1937c02
removed references to /requested(teachers?|students?)name/ and 'showsiteparticipantslist' - we are now using only default names stored in langpacks for backwards compatibility
2006-09-18 11:21:24 +00:00
vyshane
7aeedc0cfb
Removed configshowparticipantslist
2006-09-18 10:26:11 +00:00
tjhunt
89d878671d
Remove duplicate call to print_header
2006-09-18 09:02:30 +00:00
skodak
6e283151b0
fixed some more warnings in uploaduser.php script
2006-09-17 21:02:31 +00:00
moodler
88af238ccb
$CFG->defaultcourseroleid defines a site default for the role given to
...
people who enrol in the course.
$course->defaultrole defines the value for each course for what role
should be used in the same case. Naturally it defaults to the site config
(when it is zero).
This role is retained even when the person editing the course settings
doesn't actually have that role in their list of assignable rights (however
they are prevented from actually switching to any such role themselves).
Note that enrol plugins are free to ignore these values and use whatever
roles they like. Generally, though, they should respect these settings.
2006-09-17 09:22:33 +00:00
moodler
5fe3980628
Fixed hard-codes string
2006-09-16 14:26:13 +00:00
moodler
38a5e3d34a
Just some cleanups and removed notices
2006-09-16 14:22:59 +00:00
moodler
f4af29c5a4
Fixed up some bugs and notices when assigning roles in a user context
2006-09-16 12:41:47 +00:00
skodak
80f435af43
fixed error message
2006-09-16 12:02:02 +00:00
skodak
14e7869268
fixed uploaduser.php to work with role assignments and groups, new csv columns role1...role5 accepting role ids + updated help file
2006-09-16 12:01:08 +00:00
moodler
68a4b5d673
We don't need these any more (obsolete because of role assignment)
2006-09-15 15:56:05 +00:00
moodler
57e73347b3
Fixed up a typo
2006-09-15 15:07:43 +00:00
tjhunt
36075e092d
MDL-6041 - Proper fix that eliminates the magic number 99999 when getting lists of studnets. Now, there is no arbitrary upper limit in the datalib functions, and sensible upper limits on pages that display lists of users. However, if you try to get all the site students, then get_students prints a warning in debug mode, telling you that you need to rethink your code.
...
Also a few more ISNULL()s eliminated.
And a typo role_assignment -> role_assignments.
2006-09-15 14:32:35 +00:00
moodler
4b10f08b88
Rename CONTEXT_USERID --> CONTEXT_USER for consistency
2006-09-15 14:09:16 +00:00
moodler
2febd88e67
Just tidying
2006-09-15 12:53:23 +00:00
moodler
c26a8f2ffa
FIxed navigation
2006-09-15 09:23:58 +00:00
moodler
b5839add55
Passing cleanup
2006-09-15 09:04:23 +00:00
moodler
6a12bc4836
Bringing phpinfo into the fold
2006-09-15 08:59:02 +00:00
moodler
4934c49719
Cleaning up assign and override interfaces
2006-09-15 06:04:10 +00:00
moodler
7513cd6936
Tidying
2006-09-14 15:20:44 +00:00
moodler
9584965f9c
Tidied up the role assignment pages
2006-09-14 14:49:45 +00:00
moodler
02862df518
Allow columns to be zero
2006-09-14 14:12:51 +00:00
moodler
698337128b
Reorganise settings a bit
2006-09-14 13:56:27 +00:00
moodler
10e17638da
Some fixes to user policies (removed some which are no longer relevant)
2006-09-14 13:54:21 +00:00
moodler
8f8ed475f7
Added a new setting called $CFG->defaultuserroleid which defines
...
the role that ALL users get by default when they log in.
2006-09-14 09:39:23 +00:00
toyomoyo
ea8158c118
changing sql calls from user_students table to role_assignments table
2006-09-14 09:08:07 +00:00
tjhunt
aa4f6af41a
MDL-6542 - Don't run the unit tests until the user is ready.
2006-09-13 16:19:56 +00:00
tjhunt
45f501a54b
Put the unit test styles in the standard theme, rather than using the previous nasty hack that had been broken by the admin page changes.
2006-09-13 16:16:39 +00:00
stronk7
12bda5832f
Two more tests added: add_field() and drop_field()
2006-09-12 22:21:51 +00:00
skodak
bc202f4390
fixed harcoded string "Select a Role"
2006-09-12 20:54:21 +00:00
stronk7
3be91b01b6
Added support for add_field, drop_field and rename_field PHP code generation.
2006-09-12 17:45:25 +00:00
stronk7
cb78437d64
Changed some PHP comments.
2006-09-12 17:41:22 +00:00
moodler
e4d81c60a9
Tidying up a bit
2006-09-12 09:30:05 +00:00
moodler
b1ce7811ad
Fixed MDL-6479 by adding two block columns on admin pages.
...
Also we now hide the blocks and headers completely until $SITE is properly
defined.
2006-09-12 09:22:27 +00:00
toyomoyo
87e5a0cd9e
changed code to use get_role_users function
2006-09-12 07:38:07 +00:00
stronk7
eafc2b70e8
Some more improvements. Not finished yet.
2006-09-11 22:06:35 +00:00
skodak
244368e643
fixed default values and types of requested teacher and student strings
2006-09-11 21:24:57 +00:00
skodak
8dcc447689
fixed funny continue button during installation
2006-09-11 21:20:47 +00:00
skodak
55f3a4db69
removed useless "changes saved" messages from redirects in administration and user management
2006-09-11 18:56:41 +00:00
stronk7
c5a6ae177a
Initial verion. Not working yep but I needed to send it now.
2006-09-11 13:15:36 +00:00
skodak
451d82c840
move newly created admin_tree block to the left column during upgrade from 1.6
2006-09-10 22:11:46 +00:00