Commit 3de71789 authored by 符运喃's avatar 符运喃

用户rpc 获取数据权限rpc

parent 994bd8cc
......@@ -76,6 +76,14 @@ interface UserServiceInterface
*/
public function checkPerm(int $userId, string $perm): bool;
/**
* 获取当前数据权限的配置
* @param string $dataPerm
* @return array
*/
public function checkDataPerm(string $dataPerm):array ;
/**
* 获取用户拥有某个应用的所有权限
* @param int $userId
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment