Initial prototype code to explore the limits of the userCan hook
GPL