BUGFIX check if inherit perms set before checking parent permissions in checkPublicPerms()
BUGFIX check if inherit perms set before checking parent permissions in checkPublicPerms()

nyeholt/silverstripe-restrictedobjects,nyeholt/silverstripe-restrictedobjects