You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Ismail Al Kouz <iA...@bi-bst.com> on 2017/07/19 11:33:16 UTC

analyse the user permission

Hello Guys.

How I can analyze the user permission based on userLoginId or PartyId

thanks

Best Regards,

Ismail Alkouz
Java Developer


[Description: Logo for Office-4]



[Description: bi email-3-02]



P.O.Box 3516 Amman, 11821
The Hashemite Kingdom of Jordan

Tel.                     +962 (6) 556 2620
Mob (Jordan).   +962 79 282 2098

[Description: bi email-3-04]
[Description: bi email-3-05]

/biict
@biict





Re: analyse the user permission

Posted by Mohd Viqar <mh...@gmail.com>.
Please refer to this ink 

https://demo-trunk-ofbiz.apache.org:8443/partymgr/control/EditUserLoginSecurityGroups?userLoginId=DemoEmployee

or 

https://demo-trunk-ofbiz.apache.org:8443/partymgr/control/EditUserLoginSecurityGroups?userLoginId=DemoRepStore



--
View this message in context: http://ofbiz.135035.n4.nabble.com/analyse-the-user-permission-tp4708294p4708297.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.

Re: analyse the user permission

Posted by Rishi Solanki <ri...@gmail.com>.
Browse to the URL shared by Viqar, you will see the list of security groups
and each group contains the permissions associated with it.

For example:
https://demo-trunk-ofbiz.apache.org:8443/partymgr/control/EditSecurityGroupPermissions?groupId=MYPORTAL_EMPLOYEE


Also component level permission configured in the component level
ofbiz-compnent.xml


HTH!



Rishi Solanki
Sr Manager, Enterprise Software Development
HotWax Systems Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxsystems.com

On Thu, Jul 20, 2017 at 3:49 PM, Ismail Al Kouz <iA...@bi-bst.com> wrote:

> Thank you , But I mean permission to URL " https://127.0.0.1:8443/
> accounting/control/main "
> How I can analyze /accounting or /humanres 'example'  based on userlogin
> or party id
>
> Best Regards,
>
> Ismail Alkouz
> Java Developer
>
>
>
>
>
>
> P.O.Box 3516 Amman, 11821
> The Hashemite Kingdom of Jordan
> Tel.                     +962 (6) 556 2620
> Mob (Jordan).   +962 79 282 2098
>
>
> /biict
> @biict
>
>
> -----Original Message-----
> From: Deepak Nigam [mailto:deepak.nigam@hotwaxsystems.com]
> Sent: Wednesday, July 19, 2017 2:58 PM
> To: dev@ofbiz.apache.org
> Subject: Re: analyse the user permission
>
> Hi Ismail,
>
> You can refer the following set of data (copied from HumanResDemoData.xml)
>
> <UserLogin userLoginId="demoemployee"
> currentPassword="{SHA}47b56994cbc2b6d10aa1be30f70165adb305a41a"
> requirePasswordChange="N" partyId="DemoEmployee"/>
>
> <SecurityGroup groupId="HUMANRES_EMPLOYEE" description="This security
> group is for all the employees who want to apply for internal Job
> Posting."/>
>
> <SecurityPermission description="Employee can check the status of his
> requests and trainings assigned to him with this permission."
> permissionId="EMPLOYEE_VIEW"/>
>
> <SecurityGroupPermission groupId="HUMANRES_EMPLOYEE"
> permissionId="EMPLOYEE_VIEW"/>
>
> <UserLoginSecurityGroup groupId="HUMANRES_EMPLOYEE"
> userLoginId="demoemployee" fromDate="2001-01-01 12:00:00.0"/>
>
>
>
> Thanks & Regards
> --
> Deepak Nigam
> Technical Consultant/Team Lead
> Hotwax Systems
> www.hotwaxsystems.com
>
> On Wed, Jul 19, 2017 at 5:03 PM, Ismail Al Kouz <iA...@bi-bst.com>
> wrote:
>
> > Hello Guys.
> >
> >
> >
> > How I can analyze the user permission based on userLoginId or PartyId
> >
> >
> >
> > thanks
> >
> >
> >
> > *Best Regards,*
> >
> >
> >
> > *Ismail Alkouz*
> >
> > Java Developer
> >
> >
> >
> > [image: Description: Logo for Office-4]
> >
> >
> >
> > [image: Description: bi email-3-02]
> >
> >
> >
> > P.O.Box 3516 Amman, 11821
> >
> > The Hashemite Kingdom of Jordan
> >
> > *Tel.*                     +962 (6) 556 2620
> >
> > *Mob (Jordan).*   +962 79 282 2098
> >
> > [image: Description: bi email-3-04]
> >
> > [image: Description: bi email-3-05]
> >
> > /biict
> >
> > @biict
> >
> >
> >
> >
> >
>

RE: analyse the user permission

Posted by Ismail Al Kouz <iA...@bi-bst.com>.
Thank you , But I mean permission to URL " https://127.0.0.1:8443/accounting/control/main " 
How I can analyze /accounting or /humanres 'example'  based on userlogin or party id

Best Regards,

Ismail Alkouz
Java Developer


 


 
P.O.Box 3516 Amman, 11821
The Hashemite Kingdom of Jordan
Tel.                     +962 (6) 556 2620
Mob (Jordan).   +962 79 282 2098


/biict
@biict


-----Original Message-----
From: Deepak Nigam [mailto:deepak.nigam@hotwaxsystems.com] 
Sent: Wednesday, July 19, 2017 2:58 PM
To: dev@ofbiz.apache.org
Subject: Re: analyse the user permission

Hi Ismail,

You can refer the following set of data (copied from HumanResDemoData.xml)

<UserLogin userLoginId="demoemployee"
currentPassword="{SHA}47b56994cbc2b6d10aa1be30f70165adb305a41a"
requirePasswordChange="N" partyId="DemoEmployee"/>

<SecurityGroup groupId="HUMANRES_EMPLOYEE" description="This security group is for all the employees who want to apply for internal Job Posting."/>

<SecurityPermission description="Employee can check the status of his requests and trainings assigned to him with this permission."
permissionId="EMPLOYEE_VIEW"/>

<SecurityGroupPermission groupId="HUMANRES_EMPLOYEE"
permissionId="EMPLOYEE_VIEW"/>

<UserLoginSecurityGroup groupId="HUMANRES_EMPLOYEE"
userLoginId="demoemployee" fromDate="2001-01-01 12:00:00.0"/>



Thanks & Regards
--
Deepak Nigam
Technical Consultant/Team Lead
Hotwax Systems
www.hotwaxsystems.com

On Wed, Jul 19, 2017 at 5:03 PM, Ismail Al Kouz <iA...@bi-bst.com> wrote:

> Hello Guys.
>
>
>
> How I can analyze the user permission based on userLoginId or PartyId
>
>
>
> thanks
>
>
>
> *Best Regards,*
>
>
>
> *Ismail Alkouz*
>
> Java Developer
>
>
>
> [image: Description: Logo for Office-4]
>
>
>
> [image: Description: bi email-3-02]
>
>
>
> P.O.Box 3516 Amman, 11821
>
> The Hashemite Kingdom of Jordan
>
> *Tel.*                     +962 (6) 556 2620
>
> *Mob (Jordan).*   +962 79 282 2098
>
> [image: Description: bi email-3-04]
>
> [image: Description: bi email-3-05]
>
> /biict
>
> @biict
>
>
>
>
>

Re: analyse the user permission

Posted by Deepak Nigam <de...@hotwaxsystems.com>.
Hi Ismail,

You can refer the following set of data (copied from HumanResDemoData.xml)

<UserLogin userLoginId="demoemployee"
currentPassword="{SHA}47b56994cbc2b6d10aa1be30f70165adb305a41a"
requirePasswordChange="N" partyId="DemoEmployee"/>

<SecurityGroup groupId="HUMANRES_EMPLOYEE" description="This security
group is for all the employees who want to apply for internal Job
Posting."/>

<SecurityPermission description="Employee can check the status of his
requests and trainings assigned to him with this permission."
permissionId="EMPLOYEE_VIEW"/>

<SecurityGroupPermission groupId="HUMANRES_EMPLOYEE"
permissionId="EMPLOYEE_VIEW"/>

<UserLoginSecurityGroup groupId="HUMANRES_EMPLOYEE"
userLoginId="demoemployee" fromDate="2001-01-01 12:00:00.0"/>



Thanks & Regards
--
Deepak Nigam
Technical Consultant/Team Lead
Hotwax Systems
www.hotwaxsystems.com

On Wed, Jul 19, 2017 at 5:03 PM, Ismail Al Kouz <iA...@bi-bst.com> wrote:

> Hello Guys.
>
>
>
> How I can analyze the user permission based on userLoginId or PartyId
>
>
>
> thanks
>
>
>
> *Best Regards,*
>
>
>
> *Ismail Alkouz*
>
> Java Developer
>
>
>
> [image: Description: Logo for Office-4]
>
>
>
> [image: Description: bi email-3-02]
>
>
>
> P.O.Box 3516 Amman, 11821
>
> The Hashemite Kingdom of Jordan
>
> *Tel.*                     +962 (6) 556 2620
>
> *Mob (Jordan).*   +962 79 282 2098
>
> [image: Description: bi email-3-04]
>
> [image: Description: bi email-3-05]
>
> /biict
>
> @biict
>
>
>
>
>