Hello Ravi, Here is what I understand about the permissions * Provide base-permission=OFBTOOLS, XYZ
* Create SecurityPermissions. Follow the ExampleSecurityData.xml. You should create the datafile called xyzsecuritydata.xml and provide permissions XYZ_CREATE, XYZ_DELETE * Create SecurityPermissionGroup like XYZ_ADMIN and give the permissions. Load the above data using ant run-install or using webtools. Go to the PartyMgr and click on the desired party. Create a userlogin for that party and assign the SecurityGroups to that user login. Now, the user will be able to just see XYZ component. Hope this helps and I am correct. -Aswath On Wed, May 27, 2009 at 10:23 AM, Ravi Kumar <[email protected]> wrote: > OK. > > I have very simple question. > > My custom application name is "xyz". > > What is the base-permission value??? > > *ofbiz-component.xml * > > <webapp name="xyz" > title="XYZ Management" > server="default-server" > location="webapp/xyz" > base-permission="OFBTOOLS,XYZ" > mount-point="/xyz" > app-bar-display="true" > /> > or > base-permission="XYZ" > > this is* not working*!!!! > my application name not appear in application list(admin user login). > > if i change my > *ofbiz-component.xml * > > <webapp name="xyz" > title="XYZ Management" > server="default-server" > location="webapp/ayz" > base-permission="OFBTOOLS,ORDERMGR" > mount-point="/xyz" > app-bar-display="true" > /> > > Title "XYZ Management" appear in application list and ORDERMGR user can > able > access my module. > > *What is the base-permission value???* > > Thanks, > Ravi > > On Wed, May 27, 2009 at 9:53 AM, Hans Bakker > <[email protected]>wrote: > > > A search in docs.ofbiz.org with the word 'security' would have given the > > following result in the first position: > > http://docs.ofbiz.org/display/OFBTECH/OFBiz+security > > > > Regards, Hans > > > > On Wed, 2009-05-27 at 09:42 +0530, Ravi Kumar wrote: > > > HI ALL, > > > > > > Any one can explain how to create new security group and map with > custom > > > module???? > > > > > > > > > Bz i created one custom module and enable the login authentication, but > i > > > cant map this module to new security group. > > > > > > If i specify my custom module name in base-permission in > > ofbiz-component.xml > > > then link is disabled in admin panel. > > > If i specify base-permission="OFBTOOLS, ORDERMGR" then my application > > name > > > is appear in Admin console(Application List). > > > > > > Thanks > > > Ravi > > -- > > Antwebsystems.com: Quality OFBiz services for competitive rates > > > > >
