I want to let people add leave requests and have these automatically approved providing they belong to a certain category.
For instance: any leave request of the "sick leave" type should be immediately approved.
I've tried a few approaches but I always end up with a problem involving permissions and the fact that, somewhere, the leave becomes confirmed and the systems tries to confirm it again.
Has anyone done this before?