El 09/07/2014 9:27, "Cédric Krier" <cedric.kr...@b2ck.com> va escriure:
>
> On 08 Jul 18:29, Markus Bala wrote:
> > >
> > > 2. How to give access permission to buttons that call wizards? They
aren't
> > >> listed neither on button neither in wizard permission access.
> > >>
> > >
> > > I supose the button get permissions from wizard (if user has
permissions
> > > over wizard can see the button). It make sense.
> > >
> >    May I know how to  give the permission over wizard?
> >
> > I created an a group called "group_cashier". The main purpose is to
create
> > invoice and pay invoice.
> > I could find how to give the permission for "Pay" button which attached
to
> > the wizard "wizard_pay".
> >  Trying to give permission to the wizard as below script, but the pay
> > button still disable.
>
> There is no access rule on wizard.

You can set the allowed groups to a button.
Search "button" in *.xml of modules (not in view directory) and you will
find the solution.

Today I realized that the button is not hidden but if you try to click on
it it raise an error. I tried it on "Force assign" button.
Why the button is not hidden?
I think it would be better UX, but I don't investigated if it's hard to
impement.

Reply via email to