Before I write another accessor, I would like to find out if there is an OOTB solution to this:I have a resource, a directory actually, whose write permission I need to check.

How would I do this with the existing system? Or do I need to write an accessor after all?