Ticket #705 (fixed enhancement)
Use action filters for permission checks
- Created: 2012-07-10 21:52:34
- Reported by: Franz
- Assigned to: Franz
- Milestone: 2.0-alpha1
- Component: code
- Priority: normal
Action filters are Laravel's supreme mechanism for making repetitive checks for things like permissions etc. before controller actions are executed.
As those checks are beginning to repeat themselves, e.g. in the auth controller, it is about time we make use of action filters.
This also allows us to have the handling of those permissions all in one place.
Franz 2012-07-11 15:14:07
- Owner set to Franz.
Franz 2012-08-01 19:56:57
- Status changed from open to fixed.
This is done for all existing cases and will be used for any new ones in the future.