Hi ,
I intend to offer OFBiz account application to a client and do not want to expose/support the non-accounting parts. Is it possible to hide the other applications ? I am not concerned that certain links of the Accounting application may lead to related non-accounting applications. Showing a graceful message there should be sufficient. Is it ( UI visibility) driven by party roles and login security groups ? regds mallah. |
Hi Rajesh,
You can refer to the following link <https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Security+Permissions> for security permission-related information. Refer following entities: *SecurityPermission* entity stores permissions. Refer framework/webtools/data/WebtoolsSecurityPermissionSeedData.xml. *SecurityGroup* entity is used to create user groups with specific permission. *UserLoginSecurityGroup* entity associates SecurityGroup to UserLogin. *SecurityGroupPermission* entity associates SecurityGroup to SecurityPermission. Refer applications/datamodel/data/demo/OrderDemoData.xml. For application-level permission, there is a base-permission attribute for web-app in ofbiz-component.xml. Refer applications/workeffort/ofbiz-component.xml:41 In LoginWorker.java:1106, it checks if the logged in user has required permissions. If you intend to remove only links from the app bar. You can use app-bar-display="false" attribute for the webapp in ofbiz-component.xml Refer themes/rainbowstone/ofbiz-component.xml:38 Thanks and Regards, *Aditya Sharma* | Enterprise Software Engineer HotWax Systems <http://www.hotwaxsystems.com/> <https://www.linkedin.com/in/aditya-sharma-78291810a/> On Tue, May 15, 2018 at 4:42 PM Rajesh Mallah <[hidden email]> wrote: > Hi , > > I intend to offer OFBiz account application to a client and > do not want to expose/support the non-accounting parts. > > Is it possible to hide the other applications ? > > I am not concerned that certain links of the Accounting application > may lead to related non-accounting applications. Showing a graceful > message there should be sufficient. > > Is it ( UI visibility) driven by party roles and login security groups ? > > regds > mallah. > |
Thanks So much Aditya for the Hints ,
I feel below will suffice as quickfix for now. If you intend to remove only links from the app bar. You can use > > app-bar-display="false" > > > attribute for the webapp in ofbiz-component.xml > Refer themes/rainbowstone/ofbiz-component.xml:38 > Thanks for the pointers to the security mechanisms too. Regds mallah. On Tue, May 15, 2018 at 6:55 PM, Aditya Sharma < [hidden email]> wrote: > Hi Rajesh, > > You can refer to the following link > <https://cwiki.apache.org/confluence/display/OFBIZ/ > OFBiz+Security+Permissions> > for > security permission-related information. > > Refer following entities: > *SecurityPermission* entity stores permissions. > Refer framework/webtools/data/WebtoolsSecurityPermissionSeedData.xml. > > *SecurityGroup* entity is used to create user groups with > specific permission. > *UserLoginSecurityGroup* entity associates SecurityGroup to UserLogin. > *SecurityGroupPermission* entity associates SecurityGroup to > SecurityPermission. > Refer applications/datamodel/data/demo/OrderDemoData.xml. > > For application-level permission, there is a base-permission attribute for > web-app in ofbiz-component.xml. > Refer applications/workeffort/ofbiz-component.xml:41 > > In LoginWorker.java:1106, it checks if the logged in user has required > permissions. > > If you intend to remove only links from the app bar. You can use > > app-bar-display="false" > > > attribute for the webapp in ofbiz-component.xml > Refer themes/rainbowstone/ofbiz-component.xml:38 > > Thanks and Regards, > > *Aditya Sharma* | Enterprise Software Engineer > HotWax Systems <http://www.hotwaxsystems.com/> > > <https://www.linkedin.com/in/aditya-sharma-78291810a/> > > > On Tue, May 15, 2018 at 4:42 PM Rajesh Mallah <[hidden email]> > wrote: > > > Hi , > > > > I intend to offer OFBiz account application to a client and > > do not want to expose/support the non-accounting parts. > > > > Is it possible to hide the other applications ? > > > > I am not concerned that certain links of the Accounting application > > may lead to related non-accounting applications. Showing a graceful > > message there should be sufficient. > > > > Is it ( UI visibility) driven by party roles and login security groups ? > > > > regds > > mallah. > > > |
Free forum by Nabble | Edit this page |