您可以使用一个或多个role - name元素指定权限,允许访问此方法的每个角色有一个对应的此元素。
You can specify permissions using one or more role-name elements, one for each role that is allowed to access the method.
您可以使用访问控制列表(Access Control List,ACL)在products控制器中创建一个操作,并使用它为每个经销商aco上的用户访问请求对象(ARO)授权create访问权限。
Using access-control lists (ACLs), you could have created an action in the products controller and used it to grant create access to the user's access-request object (ARO) on each dealer ACO.
要使用它,只需实例路径和一个可选的用户,并且您可以使用访问器来确定是否有权限你需要一个。
To use it, simply instantiate one with the path and an optional user and you can use the accessors to determine if you have the access you need.
要使用它,只需实例路径和一个可选的用户,并且您可以使用访问器来确定是否有权限你需要一个。
To use it, simply instantiate one with the path and an optional user and you can use the accessors to determine if you have the access you need.
应用推荐