Issue Details (XML | Word | Printable)

Key: CONTRIB-1198
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Mike Worth
Reporter: Mike Worth
Votes: 0
Watchers: 1
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Non-core contributed modules

Automatically redirect view_entry to edit_entry if user viewing is creator

Created: 22/Apr/09 05:57 PM   Updated: 11/Jun/09 08:14 PM
Return to search
Component/s: Block: Mrbs
Affects Version/s: 1.9.4
Fix Version/s: None

File Attachments: 1. Text File mrbsautoeditdiff.txt (2 kB)


Participants: Mike Worth
Security Level: None
Resolved date: 11/Jun/09
Affected Branches: MOODLE_19_STABLE


 Description  « Hide
Fairly ronseal, if a user looks at one of their own bookings they are redirected to edit_entry.php

Also adds a delete link next to the save changes button, as otherwise users can never delete their own bookings

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Mike Worth committed 1 file to 'Contrib CVS' - 11/Jun/09 07:42 PM
CONTRIB-1198 mrbs block Automatically redirect view_entry to edit_entry if user viewing is owner
MODIFY plugins/blocks/mrbs/web/view_entry.php   Rev. 1.11    (+8 -1 lines)
Mike Worth committed 1 file to 'Contrib CVS' - 11/Jun/09 08:13 PM
CONTRIB-1198 mrbs block Add delete link so that if user was automatically redirected they still have to opportunity to delete the booking
MODIFY plugins/blocks/mrbs/web/edit_entry.php   Rev. 1.15    (+19 -1 lines)