skodak
|
6859360cd4
|
coverted /admin/ to proper /$CFG->admin/ in paths
|
2006-09-26 21:10:14 +00:00 |
|
moodler
|
9e38e94047
|
More tidy-ups
|
2006-09-24 14:35:45 +00:00 |
|
moodler
|
8173517648
|
Giving the capabilities a bit more room on smaller screens
|
2006-09-24 14:26:50 +00:00 |
|
moodler
|
7fe6ddbab5
|
Add header classes to headers
|
2006-09-24 14:15:57 +00:00 |
|
skodak
|
d4121c5605
|
one more sanity check for role overrides
|
2006-09-24 13:34:52 +00:00 |
|
moodler
|
b144aaa4dc
|
Add some more checking of input and permissions
|
2006-09-24 13:30:43 +00:00 |
|
skodak
|
38d2d43b01
|
roles fixed in user browsing page; admin section now accepts array of capabilities for external and settings pages
|
2006-09-24 11:55:11 +00:00 |
|
moodler
|
ff439b30af
|
Added styles to the role editing/viewing list, as well as some links and tooltips
|
2006-09-24 09:44:51 +00:00 |
|
moodler
|
d13c1aed4a
|
When not editing, then let's disable the radio buttons
|
2006-09-24 09:02:30 +00:00 |
|
moodler
|
be91f51dab
|
Make sure buttons don't wrap
|
2006-09-24 06:54:52 +00:00 |
|
moodler
|
350b5fb6c8
|
Strip all tags from role names before use
|
2006-09-23 12:57:48 +00:00 |
|
skodak
|
ece4945bd2
|
role sortorder column now has unique index; new function get_all_roles() that returns all roles with correct sort
|
2006-09-23 12:51:00 +00:00 |
|
skodak
|
8420bee94e
|
towards unique role sortorder - fixes for create_role() and new delete_role()
|
2006-09-23 10:43:24 +00:00 |
|
skodak
|
adbffcb9fe
|
role ui minor cleanup
|
2006-09-22 21:17:43 +00:00 |
|
skodak
|
305ef971fc
|
role assign and override code fixes + other minor changes
|
2006-09-22 20:09:47 +00:00 |
|
moodler
|
aad2ba95d1
|
Upgrading table to rename the context->aggregatelevel field which was
really bugging me. Code should be a little bit more readable now.
Apologies to those with non-core code already using this field.
|
2006-09-22 06:19:32 +00:00 |
|
toyomoyo
|
ef61c5f964
|
fixed a bug, override in user should not record userid as a capability
|
2006-09-22 02:17:59 +00:00 |
|
skodak
|
0c88b9acf7
|
improved coding style
|
2006-09-21 23:15:45 +00:00 |
|
skodak
|
f3245d0952
|
improved coding style
|
2006-09-21 23:08:58 +00:00 |
|
skodak
|
fa1fbbdc40
|
minor allignment change in role list
|
2006-09-21 23:00:48 +00:00 |
|
skodak
|
b5959f3071
|
partial rewrite of role manage script, improved notice_yesno(), other minor fixes and changes; I will work on assign and overide tomorrow ;-)
|
2006-09-21 22:34:45 +00:00 |
|
skodak
|
f59208a745
|
fixed typos in capabiltiy names
|
2006-09-21 16:27:37 +00:00 |
|
skodak
|
fd98800ea2
|
another admin ui cleanup
|
2006-09-21 08:28:25 +00:00 |
|
skodak
|
eef868d17d
|
major whitespace cleanup - fixed trailng whitespace in new files and admin area
|
2006-09-20 21:00:45 +00:00 |
|
skodak
|
8521d83aff
|
role_context_capabilities should handle current context too and role override simply use parent context
|
2006-09-20 06:24:55 +00:00 |
|
tjhunt
|
f866df1c4f
|
allowassign.php was submitting to allowoverride.php
|
2006-09-19 21:53:37 +00:00 |
|
skodak
|
a14049f107
|
metacourse role assignment fixes
|
2006-09-19 20:39:55 +00:00 |
|
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 |
|
skodak
|
a6b02b652b
|
RISK_ADMIN replaced with RISK_CONFIG
|
2006-09-19 07:33:22 +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
|
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 |
|
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
|
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
|
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 |
|
skodak
|
bc202f4390
|
fixed harcoded string "Select a Role"
|
2006-09-12 20:54:21 +00:00 |
|
toyomoyo
|
87e5a0cd9e
|
changed code to use get_role_users function
|
2006-09-12 07:38:07 +00:00 |
|
moodler
|
dbed4286da
|
Cleaned up headers when editing roles for blocks
|
2006-09-05 09:15:52 +00:00 |
|
skodak
|
f21def1f11
|
fixed collisions in merges, sorry
|
2006-09-03 15:21:46 +00:00 |
|
moodler
|
02bd14a7ed
|
Tidy-ups
|
2006-09-03 08:03:02 +00:00 |
|
skodak
|
6e4dc10f54
|
deglobalization of $ADMIN; merged admin/adminlib.php into lib/adminlib.php; fixed includes and some other minor fixes
|
2006-09-02 13:14:57 +00:00 |
|
vyshane
|
7654b2bb08
|
Added lang string
|
2006-08-28 07:30:07 +00:00 |
|
moodler
|
9250203ff5
|
Added a better string as per MDL-6379
|
2006-08-28 07:12:10 +00:00 |
|