Re: Ofbiz Security permission

2019-03-05 Thread Rishi Solanki
HI, Yes you can use the permission service to add check at service, script, UI and inline UI etc. You just need to call the relevant service as per your business needs. Please refer PartyPermissionServices.xml give you good idea how to implement and its occurrence gives idea on how to use that.

Re: Ofbiz Security permission

2019-03-03 Thread Deepak Dixit
Your email has been moderated, Please subscribe to the user ML for such questions and then use your email client See also why here http://ofbiz.apache.org/mailing-lists.html Thanks & Regards -- Deepak Dixit ofbiz.apache.org On Sun, Mar 3, 2019 at 3:02 PM vanthanh020...@gmail.com <

Re: Ofbiz Security permission

2019-03-03 Thread vanthanh0202lk
Hi Rishi Solanki , "1) SecurityPermission 2) SecurityGroup 3) SecurityGroupPermission 4) UserLogin 4) UserLoginSecurityGroup" =>There is a basic service which checks the weather an user will have permission to access some UI, process or not. I know, so how can I get get permission of user who

Re: Ofbiz Security permission

2019-03-01 Thread Rishi Solanki
Rajesh, There is a basic service which checks the weather an user will have permission to access some UI, process or not. Which can be override as per the business need. Please take a look into the PartyPermissionServices.xml. Here you can see examples with fact service always returns true or

Re: Ofbiz Security permission

2019-03-01 Thread Rajesh Mallah
Hello Mr Deepak / List , can you also elaborate to what extent OOTB handles the isolation of view between resource owners. Eg below the person asks viewing his *own* resource but not others. > > create sale order, view and edit own sale order. Cannot update or view > other sale order which is

Re: Ofbiz Security permission

2019-02-28 Thread Deepak Nigam
Hi Thanh, The permissions you are looking for and corresponding security group are already available OOTB. You only need to associate user login with appropriate security groups. Following entities can be of your interest: 1) SecurityPermission 2) SecurityGroup 3) SecurityGroupPermission 4)

Re: Ofbiz Security permission

2019-02-28 Thread Jacques Le Roux
Hi Thanh, Your message has been moderated. Please subscribe to the user ML for such questions and then use your email client See also why here http://ofbiz.apache.org/mailing-lists.html You will get a better support , it's more fair to share with everybody  and people can answer you directly

Ofbiz Security permission

2019-02-28 Thread thanh
Hi all, I am newbie in ofbiz, I want to create permission call "Salesman", which this permission, user can create sale order, view and edit own sale order. Cannot update or view other sale order which is not belong to themself. How can I do it, please show me. Thanks and best regards. Thanh