analyse the user permission

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

analyse the user permission

Ismail Al Kouz

Hello Guys.

 

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

 

thanks

 

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

 

 

Reply | Threaded
Open this post in threaded view
|

Re: analyse the user permission

Deepak Nigam
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 <[hidden email]> 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
>
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: analyse the user permission

Mohd Viqar
In reply to this post by Ismail Al Kouz
Reply | Threaded
Open this post in threaded view
|

RE: analyse the user permission

Ismail Al Kouz
In reply to this post by Deepak Nigam
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:[hidden email]]
Sent: Wednesday, July 19, 2017 2:58 PM
To: [hidden email]
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 <[hidden email]> 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
>
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: analyse the user permission

Rishi Solanki
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 <[hidden email]> 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:[hidden email]]
> Sent: Wednesday, July 19, 2017 2:58 PM
> To: [hidden email]
> 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 <[hidden email]>
> 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
> >
> >
> >
> >
> >
>