implemented revokeAllClassPermissions and revokeAllObjectPermissions