我在ofBiz
中创建了一个名为smartfarm的应用程序ofbiz-component.xml看起来像这样
<webapp name="smartfarm"
title="SMARTFARM"
server="default-server"
location="webapp/smartfarm"
base-permission="OFBTOOLS,SMART"
mount-point="/smartfarm" app-bar-display="true"/>
在我向用户提供超级许可之前,我无法访问该应用程序。
我的种子数据看起来像这样
<SecurityGroup groupId="SETUP" description="Access setup screens" />
<SecurityGroup groupId="CROP" description="Access crop screens" />
<SecurityGroup groupId="CONFIG" description="Access detailed config screens" />
<SecurityGroup groupId="LOCATION" description="Access location screens" />
<SecurityPermission description="Access setup screens" permissionId="SMART_SETUP"/>
<SecurityPermission description="Access crop screens" permissionId="SMART_CROP"/>
<SecurityPermission description="Access detailed config screens" permissionId="SMART_CONFIG"/>
<SecurityPermission description="Access location screens" permissionId="SMART_LOCATION"/>
<SecurityGroupPermission groupId="SETUP" permissionId="SMART_SETUP"/>
<SecurityGroupPermission groupId="CROP" permissionId="SMART_CROP"/>
<SecurityGroupPermission groupId="CONFIG" permissionId="SMART_CONFIG"/>
<SecurityGroupPermission groupId="LOCATION" permissionId="SMART_LOCATION"/>
如果用户具有上述任何权限,我必须做什么才能访问该应用程序?
答案 0 :(得分:1)
您的用户需要OFBTOOLS和SMART权限。从配置来看,似乎缺少OFBTOOLS权限。