Gracefully handle missing objects and objects with restricted access
Reported by Mike Dvorkin | May 6th, 2009 @ 07:20 PM | in 0.9.7 "Steinitz"
Also see #32 that uncovered this issue.
-
First scenario (view missing): user2 deletes the object, and user1 clicks on object's name from recently viewed items.
-
Second scenario (edit missing): user2 deletes the object, and user1 tries to edit it.
-
Third scenario (delete missing): user2 deletes the object, and user1 tries to delete it as well.
-
Fourth scenario (restricted access): user2 makes the object private, and user1 tries to view, edit, or delete it.
Comments and changes to this ticket
-
Mike Dvorkin May 13th, 2009 @ 11:21 AM
- State changed from new to open
-
Mike Dvorkin May 14th, 2009 @ 09:40 PM
(from [8b758b6576a4d0c8c527cb64f3de3df49af45c34]) Gracefully handle missing assets (Account#show), added non-sticky flash messages [#34 state:open] http://github.com/michaeldv/fat_free_crm/commit/8b758b6576a4d0c8c52...
-
Mike Dvorkin May 14th, 2009 @ 10:58 PM
(from [9d131464835cd9bda47291447fddb02151bbe80e]) Fixed the handling of missing account from previous commit; fixed account views to show search box when necessary [#34 state:open] http://github.com/michaeldv/fat_free_crm/commit/9d131464835cd9bda47...
-
Mike Dvorkin May 16th, 2009 @ 09:57 PM
(from [495cea47e6d9c55a34a100b6ef1c31dee90b9bec]) Added missing object handling for #show action (all core objects)
[#34 state:open] http://github.com/michaeldv/fat_free_crm/commit/495cea47e6d9c55a34a...
-
Mike Dvorkin May 17th, 2009 @ 03:04 PM
(from [26b2517a94ffa986362fd023e281a393939c7918]) Added missing object handling for #edit action (all core objects except tasks). If object permissions prevent access, treat the object as
missing.
[#34 state:open] http://github.com/michaeldv/fat_free_crm/commit/26b2517a94ffa986362... -
Mike Dvorkin May 18th, 2009 @ 08:22 PM
(from [04dda2bd6d80e41828304410c5f05fcfbec73dbe]) Added missing and protected object handling for #update and #delete (all except tasks) [#34 state:open] http://github.com/michaeldv/fat_free_crm/commit/04dda2bd6d80e418283...
-
Mike Dvorkin May 19th, 2009 @ 08:21 PM
- State changed from open to resolved
(from [f59e3a1deb6f373ae312aca4aa681d0ac19088d3]) - Added missing and protected object handling for #convert, #promote, #reject (Leads). - Added new [tracked_by] named scope for Tasks. - Added missing and protected object handling for Tasks. - Refactored rescue clause to use respond_to_not_found(). [#34 state:resolved] http://github.com/michaeldv/fat_free_crm/commit/f59e3a1deb6f373ae31...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Ruby on Rails CRM platform for Web 2.0 and beyond
People watching this ticket
Referenced by
- 32 Orphaned Activities Bug I'm opeining a new ticket since it's a global issue that ...
- 34 Gracefully handle missing objects and objects with restricted access (from [8b758b6576a4d0c8c527cb64f3de3df49af45c34]) Gracefu...
- 34 Gracefully handle missing objects and objects with restricted access (from [9d131464835cd9bda47291447fddb02151bbe80e]) Fixed t...
- 34 Gracefully handle missing objects and objects with restricted access [#34 state:open] http://github.com/michaeldv/fat_free_cr...
- 34 Gracefully handle missing objects and objects with restricted access (from [26b2517a94ffa986362fd023e281a393939c7918]) Added m...
- 34 Gracefully handle missing objects and objects with restricted access (from [04dda2bd6d80e41828304410c5f05fcfbec73dbe]) Added m...
- 34 Gracefully handle missing objects and objects with restricted access (from [f59e3a1deb6f373ae312aca4aa681d0ac19088d3]) - Added...