The Perms package provides an interface to the Horde permissions system.