async def verify_permissions(self, user_id, *permissions):
prefix = f"<STR_LIT>"<EOL>perm_names = [str(p) for p in permissions]<EOL>checkings = [KV.get.txn(prefix + p) for p in perm_names]<EOL>success, responses = await self._client.txn(compare=[], success=checkings)<EOL>if not success:<EOL><INDENT>errmsg = f"<STR_LIT>"<EOL>raise Unprocessable(errmsg)<EOL><DEDENT>for i, item  in enumerate(responses):<EOL><INDENT>if item[<NUM_LIT:0>] is not None:<EOL><INDENT>return permissions[<NUM_LIT:0>]<EOL><DEDENT><DEDENT>return None<EOL>
返回当前用户所匹配的首个有效权限