Login  Register

Re: Security and Permission Issue, what is OFBTOOLS and where to find it.

Posted by Emad Radwan on Nov 04, 2020; 7:33pm
URL: http://ofbiz.116.s1.nabble.com/Security-Issue-Can-t-Access-a-Web-App-tp4761307p4761375.html

Hi Pawan,

I solved this user access by adding 'ACCTG_FUNCTNL_ADMIN' security group to his user login and I understand from the related permissions that it has all accounting and 'OFBTOOLS_VIEW' permissions! However, and forgive my ignorance, what do you mean that 'OFBTOOLS and ACCOUNTING' are base permissions? Is it a kind of convention? as how I can relate these with 'ACCTG_FUNCTNL_ADMIN'? Are they stored on another table or XML file? and please what OFBOOLs stand for?

Sorry again for the many questions, and thanks for your time.

Regards,

Emad

On 2020/11/04 18:26:50, Pawan Verma <[hidden email]> wrote:

> Hi Emad,
>
> OFBTOOLS and ACCOUNTING are the base permissions. It should be assigned to
> the appropriate SecurityGroup and this SecurityGroup should be assigned to
> the user via UserLoginSecurityGroup.
>
> You can explore AccountingDemoData.xml to get the exact idea of the system.
>
> HTH!
> --
> Thanks & Regards
> Pawan Verma
> Technical Consultant
> *HotWax Systems*
> *Enterprise open source experts*
> http://www.hotwaxsystems.com
>
>
> On Wed, Nov 4, 2020 at 11:30 PM Emad Radwan <[hidden email]> wrote:
>
> > I just need to add a comment to save your time, please help if you can.
> >
> > What I'm missing is OFBTOOLS,ACCOUNTING entries in 'Security_Groups' while
> > I understand that their permissions are available in
> > 'Security_Permissions'.
> >
> > On 2020/11/04 17:15:21, Emad Radwan <[hidden email]> wrote:
> > > Hello Gents,
> > >
> > > Back to this issue. I started looking for information regarding security
> > and I got to know that assets are coming under accounting and based on -
> > correct me please if I'm wrong - 'base-permission' for this the user needs
> > to have OFBTOOLS,ACCOUNTING security groups to be allowed to access. I
> > can't find the same in the data populated with my new Ofbiz installation, I
> > found other threads talking about having such 'static data' scattered
> > between 'demo' and 'seed' data so I reloaded the same using './gradlew
> > "ofbiz --load-data readers=seed,seed-initial,ext,demo"' but nothing changed.
> > >
> > > Would you please shed some light ob this?
> > >
> > > Regards,
> > >
> > > Emad.
> > >
> > > On 2020/11/01 15:19:54, Emad Radwan <[hidden email]> wrote:
> > > > Hi There,
> > > >
> > > > While following the this tutorial -
> > https://www.hotwaxsystems.com/ofbiz/ofbiz-tutorials/ofbiz-tutorial-how-to-setup-permission-for-a-new-user-to-access-an-application/
> > - to understand how the security model works, although I assigned the
> > mentioned security group for 'ASSETMAINTADMIN' I can't login to the app
> > using the URL 'https://localhost:8443/assetmaint/control/login' getting a
> > message 'You cannot login to this application'. Any idea why is this?
> > > >
> > > > Regards,
> > > >
> > > > Emad.
> > > >
> > >
> >
>