Question

user specific restriction on characteristic tab in attachment section

  • 15 November 2021
  • 4 replies
  • 165 views

Userlevel 3
Badge +6

Can we restrict the characteristic tab as shown below based on view/edit permission to user ?

for ex - we want only certain people to Edit this characteristic tab section and  some to just view access(readonly grant).

If yes please help how we can achieve this ? Appreciate and thanks in advance for the answers . :) 

 


4 replies

Userlevel 7
Badge +30

Hi,

Sorry, but I think not. I just had a quick look at the code but it seems we only check if the ManageTechnicalObjectReference activity is granted, or not. If it is granted, the user can both edit and view the data.

You should be able to stop certain users from saving by using a custom event that checks what kind of user it is, and if the user is not allowed to save changes, you will raise an error.

Good luck!

/Mathias

Userlevel 3
Badge +6

Hi, 

 

Using Standard solution, it is not possible. But you can define your own presentation object and handle it. Modify the Standard presentation object “APPSRW/Technical%”  according to your need, then add a new presentation object with the removed methods. 

 

Thanks 

L P Reddy 

Userlevel 7
Badge +30

Hi, 

 

Using Standard solution, it is not possible. But you can define your own presentation object and handle it. Modify the Standard presentation object “APPSRW/Technical%”  according to your need, then add a new presentation object with the removed methods. 

Can you elaborate on how that will solve the view vs edit permissions? The attachment plugin above only checks if the mentioned activity is granted or not.

 

 

Userlevel 3
Badge +6

@Mathias Dahl @LPREDDY  Thank you so much for your input.

Reply