24 Commits

Author SHA1 Message Date
Andrew Davis
d4514e46fc forum MDL-23388 altered the logic around making users exempt from the forum post threshold 2010-08-26 07:36:23 +00:00
Sam Marshall
31c9330392 accesslib MDL-22527 Batch change to replace 'legacy' arrays with 'archetypes' arrays in access.php 2010-05-21 11:51:23 +00:00
Martin Dougiamas
6595a5681e ratings MDL-21657 Improving capabilities for ratings.
Rather than performing complicated upgrade procedures from the old (broken) logic in three activity modules, we are adding new capabilities to those three modules to make them all consistent, and using them in a callback from the Ratings API.  This is the same as the Comments API.

The downside is that two sets of capabilities need to be enabled for ratings to work.  Hopefully this can be mitigated somewhat when build some sort of shortcuts on the module settings forms to set capabilities.  In the meantime, the effect is reduced somewhat by having all the rating capabilities enabled by default for student and teacher roles.  This means control is in the hands of whatever the modules have set, giving very close backward compatibility.

This is not the perfect solution, but neither were the other two.
2010-04-23 05:42:22 +00:00
Petr Skoda
4f0c2d0009 MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too 2010-03-31 07:41:31 +00:00
Petr Skoda
2f67a9b3a5 MDL-20700 whitespace terror returns yet again 2009-12-16 22:22:37 +00:00
Sam Hemelryk
8f685009b3 forum MDL-21086 cleaned up boilderplates and php doc packages 2009-12-10 03:11:18 +00:00
Petr Skoda
0ac940b3bf MDL-20712 using just $capablities for capability definition array, all other files in db/* do not use component names in definition array; old capability array names are of course supported 2009-11-04 19:24:12 +00:00
Petr Skoda
1adbd2c350 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 14:55:15 +00:00
mjollnir_
f98b13a650 MDL-15758 and MDL-15768
- updated forum portfolio code to use files api and added forum export caps.
2008-08-18 18:31:17 +00:00
skodak
3a0c6cca33 MDL-8521 new feature - safe overrides, see tracker for details; merged from MOODLE_19_STABLE 2008-07-23 16:10:06 +00:00
toyomoyo
a7bb9b8ff2 merged fix for MDL-8981, roles assigned at site level may result in a lot of default subscriptions 2007-03-21 06:07:46 +00:00
skodak
c718dd57ba MDL-8578 new capability for adding and replying to news in forum 2007-03-02 19:41:31 +00:00
vyshane
2585a68d54 Merged from 1.8. 2007-02-16 08:46:55 +00:00
moodler
dae2952a59 Fix throttling capabilities so this works MDL-7414 2006-11-09 09:28:59 +00:00
moodler
2d5a4f255b Merged fixes for MDL-6907 from stable 2006-10-11 06:21:58 +00:00
vyshane
9222e72167 Removed capability mod/forum:viewforum. We will use moodle/course:viewhiddenactivities and hide/unhide forums instead. 2006-09-21 08:32:05 +00:00
skodak
d43d749a1b forum throttling capability meaning reversed 2006-09-20 21:25:51 +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
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
moodler
00adf177ad Changed some default permissions for the guest role 2006-09-12 05:58:42 +00:00
vyshane
f0eb2ffe85 Added mod/forum:viewhiddentimedposts 2006-08-09 09:17:37 +00:00
vyshane
0fa18d5a27 Bug fixes + updated capabilities. 2006-08-09 06:59:28 +00:00
vyshane
9af1611a06 Replaced capability mod/forum:viewdiscussionsfromallgroups by
moodle/site:accessallgroups in code. Removed former from mod/forum/db/access.php.
2006-08-08 06:56:09 +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