ASP Level based on role ?

Help is preferred to those who publish their work as Open Source and not as private branches rejecting collaboration. Such projects are not maintainable and shall be deleted.
Forum rules
This forum is personally pruned to avoid redundant posts. Related topics are grouped together. IF YOU HAVE REGISTERED, you need to send email to red1(a)red1.org with your username in the subject title to get me to activate you.

ASP Level based on role ?

Postby nmicoud » Fri Jul 20, 2012 5:47 pm

Hi,

We use same windows for all our installations (with same IDs).
To simplify, we have 2 kind of customers A and B.
We need to add some fields on C_BPartner for A. B don't need them.

Some of those fields should be accessed by role 1 of A, and should be masked (or read-only) for role 2 of A.

I try to use window customization, but it is quite complicated because i have to create records for each role (and there is sometimes 7 or 8 roles).
Then i discover ASP modules.
Seems fantastic !

It should allow me to show or mask those fields for an entire tenant.
But i need to go further and add role on level.

Does it sound feasible ?

Another question : i think that ASP should decrease performance (for each window, tab, field it add a sql) ; is it detrimental for final users ? Is it used in an real production environnment ?


Thanks and regards,

Nicolas
nmicoud
Regular
 
Posts: 124
Joined: Fri Oct 07, 2011 6:19 pm

Re: ASP Level based on role ?

Postby a42niem » Fri Jul 20, 2012 9:16 pm

Hi Nicolas,

as discussed in IRC I will have a look at an "included role" extension for window customization.

Regards

Dirk Niemeyer
a42niem
 
Posts: 30
Joined: Fri Apr 01, 2011 3:00 pm

Re: ASP Level based on role ?

Postby nmicoud » Sun Jul 22, 2012 3:40 am

Hi Dirk, thanks for your interest.

Just wondering if it could worth to think about a 'role group' concept.
You could gather some role into a group and use it in window customization, toolbar restriction, ...

WDYT ?

Regards,

Nicolas
nmicoud
Regular
 
Posts: 124
Joined: Fri Oct 07, 2011 6:19 pm

Re: ASP Level based on role ?

Postby globalqss » Wed Jul 25, 2012 6:16 am

Hi Nicolas,

We have used ASP module in a multi-tenant env and it worked fine.

You could also play with role data access.

Regards,

Carlos Ruiz
globalqss
Senior
 
Posts: 590
Joined: Thu Dec 29, 2005 4:15 am
Location: Bogotá, Colombia


Return to HELP ME!!!

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron