简体   繁体   English

带有受限服务的ServiceStack元数据页面

[英]ServiceStack Metadata page with restricted services

我想知道是否有一种方法可以仅按角色显示服务在元数据页面上显示,例如,用户是否具有角色“ operator”:在元数据服务堆栈页面中仅可以查看和访问服务B,C,以及用户是否例如,以管理员身份进入可以在元数据页面中查看和访问服务A,B,C,D

The metadata pages currently supports restricting the visibility and access of services based on the Request Attribute Restrictions but there's no support for Role-level or premission-level visibility. 元数据页面当前支持基于请求属性限制来限制服务的可见性和访问,但不支持角色级别或权限级别的可见性。

Add it as a feature request if you would like to see future support for this. 如果您希望将来获得对此的支持,请将其添加为功能请求

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM