Administrator
|
=== Moderated mail, copied on user ML===
Hi [hidden email], Your message has been moderated. Please use and subscribe to the user ML for such questions see why here http://ofbiz.apache.org/mailing-lists.html You will get a better support and it's more fair to share with everybody The wider the audience the better the answers you might get Thanks Jacques New component needs security to run.eml Sujet : New component needs security to run De : "[hidden email]"<[hidden email]> Date : 08/11/2017 15:30 Pour : <[hidden email]> hii all , i have created one component which name is Success as of now we want to run it one the browser for this i wrote hello word inside SuccessScreen so according to ofbiz tutorial i have to Setup by default in my component data directory as SuccessSecurityGroupDemoData.xml for some security resion but i got confuse what to set inside SuccessSecurityGroupDemoData.xml this. code is shown below. <entity-engine-xml> <SecurityGroupPermission groupId="FULLADMIN" permissionId="Success_ADMIN"/> <SecurityGroupPermission groupId="FLEXADMIN" permissionId="Success_CREATE"/> <SecurityGroupPermission groupId="FLEXADMIN" permissionId="Success_DELETE"/> <SecurityGroupPermission groupId="FLEXADMIN" permissionId="Success_UPDATE"/> <SecurityGroupPermission groupId="FLEXADMIN" permissionId="Success_VIEW"/> <SecurityGroupPermission groupId="VIEWADMIN" permissionId="Success_VIEW"/> <SecurityGroupPermission groupId="BIZADMIN" permissionId="Success_ADMIN"/> </entity-engine-xml> |
Hi Shashi,
If I am not wrong I think you got confused with following lines: Now you will need to restart OFBiz by reloading data($ ./gradlew > loadDefault ofbiz). It's required as you have created a new component with > some security data for you component (Setup by default in your component > data directory as OfbizDemoSecurityGroupDemoData.xml) and as you will > restart it, ofbizdemo component will also be loaded. Here you don't have to set anything inside SuccessSecurityGroupDemoData.xml. The lines meant is the following data needs to be loaded for your component to run and to be accessed. The target ./gradlew loadDefault does the job for you. You can also refer to the OFBiz Youtube Channel <https://www.youtube.com/user/ofbiz> or OFBiz Vimeo Channel <https://vimeo.com/channels/apacheofbiz> HTH Thanks and Regards, *Aditya Sharma* | Enterprise Software Engineer HotWax Systems <http://www.hotwaxsystems.com/> <https://www.linkedin.com/in/aditya-sharma-78291810a/> On Thu, Nov 9, 2017 at 2:47 AM, Jacques Le Roux < [hidden email]> wrote: > === Moderated mail, copied on user ML=== > > Hi [hidden email], > > Your message has been moderated. > > Please use and subscribe to the user ML for such questions > see why here http://ofbiz.apache.org/mailing-lists.html > You will get a better support and it's more fair to share with everybody > > The wider the audience the better the answers you might get > > Thanks > > Jacques > > New component needs security to run.eml > > Sujet : > New component needs security to run > De : > "[hidden email]"<[hidden email]> > Date : > 08/11/2017 15:30 > > Pour : > <[hidden email]> > > > hii all , > > i have created one component which name is Success as of now we want to > run it one the browser for this i wrote hello word inside SuccessScreen so > according to ofbiz tutorial i have to Setup by default in my component data > directory as SuccessSecurityGroupDemoData.xml for some security resion > but i got confuse what to set inside SuccessSecurityGroupDemoData.xml > this. code is shown below. > > <entity-engine-xml> > <SecurityGroupPermission groupId="FULLADMIN" > permissionId="Success_ADMIN"/> > <SecurityGroupPermission groupId="FLEXADMIN" > permissionId="Success_CREATE"/> > <SecurityGroupPermission groupId="FLEXADMIN" > permissionId="Success_DELETE"/> > <SecurityGroupPermission groupId="FLEXADMIN" > permissionId="Success_UPDATE"/> > <SecurityGroupPermission groupId="FLEXADMIN" > permissionId="Success_VIEW"/> > <SecurityGroupPermission groupId="VIEWADMIN" > permissionId="Success_VIEW"/> > <SecurityGroupPermission groupId="BIZADMIN" > permissionId="Success_ADMIN"/> > </entity-engine-xml> > > |
Free forum by Nabble | Edit this page |