has_rule() has_rule( $project_id, $type, $option) : boolean 判断当前登录用户是否拥有权限 Parameters $project_id //项目id $type //权限对象 $option //操作类型 Returns boolean