cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

A user does not have access of modify identity, how to override this access that user can edit part.

AR_9920456
14-Alexandrite

A user does not have access of modify identity, how to override this access that user can edit part.

A user does not have access of modify identity to a part, how to override this access that user can edit part. Through the code.

ACCEPTED SOLUTION

Accepted Solutions

Hi @AR_9920456 

It is not good idea to avoid the ACL rules but you can set the code session to administrator and do any changes you need.

SessionHelper.manager.setAdministrator();

There is very important point.

Save actual user to an variable, set the admin make any changes, set the session user back to original user.

PetrH

View solution in original post

2 REPLIES 2

Hi @AR_9920456 

It is not good idea to avoid the ACL rules but you can set the code session to administrator and do any changes you need.

SessionHelper.manager.setAdministrator();

There is very important point.

Save actual user to an variable, set the admin make any changes, set the session user back to original user.

PetrH

AR_9920456
14-Alexandrite
(To:HelesicPetr)

Hello HelesicPetr,

 

it works

Announcements

Top Tags