DC
Asked
Please create a notification from owner. Now login as admin named 'user' and try to edit this notification.
the system hangs
the system hangs
Attachments
- DCAnsweredi tried in demo, there it edits
- MSAnsweredHello,
No. Admins don't have edit permission. Admins can add the notifications but can't edit.
If you want to allow them, you can modify the `edit` method of `app/controllers/admin/Notifications.php` and remove these lines
```
if (!$this->Owner) {
$this->session->set_flashdata('warning', lang('access_denied'));
redirect($_SERVER['HTTP_REFERER']);
}
```
Thank you - DCAnsweredTHAT IS EXACTLY WHAT I AM SAYING. SYSTEM HANGS......... INSTEAD OF RETURNING TO PREVIOUS PAGE. THE SYSTEM KEEPS ON BUFFERING. EITHER YOU SHOULD REMOVE EDIT BUTTON FROM ADMIN NOTIFICATION PAGE. OR SYSTEM SHOULD GIVE (PERMISSION DENIED MESSAGE AND GO BACK) . IF YOU WANT, I CAN POST IT IN BUGS SECTION.
- MSAnsweredI am very blur to read and understand in UPPERCASE, can you please write normal. Thank you
- DCAnsweredwill keep in mind next time, NOT to use capitals
- MSAnsweredHello,
The edit model for admins will be fixed in next update.
Thank you - Login to Reply