Issue Details (XML | Word | Printable)

Key: MDL-15310
Type: Sub-task Sub-task
Status: Open Open
Priority: Major Major
Assignee: Mathieu Petit-Clair
Reporter: Mathieu Petit-Clair
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle
MDL-13404

transfer capability checks from tagging library to calling scripts

Created: 19/Jun/08 09:27 AM   Updated: 20/Jun/08 09:47 AM
Return to search
Component/s: Blog, Tags
Affects Version/s: 2.0
Fix Version/s: 2.0

Participants: Mathieu Petit-Clair and Petr Skoda
Security Level: None
Affected Branches: MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
/tag and /blog are in need of a cleanup : there are still capability checks done in tag/lib.php (which should be done in the calling scripts), some code hasn't been adjusted following the (pre-1.9) tag library changes (capabilities not taken into account, not using the api, etc.) and there are quite a few unused variables.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Mathieu Petit-Clair made changes - 19/Jun/08 05:19 PM
Field Original Value New Value
Component/s Blog [ 10095 ]
Description There are still capability checks done in tag/lib.php, which should be done in the calling scripts. /tag and /blog are in need of a cleanup : there are still capability checks done in tag/lib.php (which should be done in the calling scripts), some code hasn't been adjusted following the (pre-1.9) tag library changes (capabilities not taken into account, not using the api, etc.) and there are quite a few unused variables.