This topic is locked
[SOLVED]

 How to implement hierarchical users

10/19/2019 3:47:01 PM
PHPRunner General questions
F
facun_baur author

Hi Guys,

I appreciate it if someone could help me solve this problem.
I want to implement hierarchical users, here are my requirements:

[indent]1. Child user can only access their record,

2. parent users can access the records owned by their child.

3. Parent User is hierarchical, until five levels

[/indent]
Question:

[indent]1. How to design the tables (fields and relations)?

2. Please, give me an idea or steps to implement this using phprunner?[/indent]
I'm using PHPRunner Enterprise Edition 10.3 and database Mysql.
Thank you in advance.

Facun

fhumanes 10/20/2019

Hello:
In some examples I've posted on this forum I have had to extend access management to default PHPRunner we offer.
I think your case you can not solve with standard access management PHPRunner and you will have to implement an extension for your case.
PHPRunner you this job a lot easier.
I advise you to look at how I've solved in this example https://asprunner.com/forums/topic/26667-project-manager-in-phprunner-vs-dotproject-or-web2project/
You have access to sources and I think you can help.
Regards,

F
facun_baur author 10/20/2019

Hi Fhumanes,
I learned many things from what you have posted on this forum and your blog.

Thanks for giving me the idea, have a great day
Facun.