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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Translate the entire conversation x

How to let users only rename the name, but not the number?

AnderasFromm
8-Gravel

How to let users only rename the name, but not the number?

I want to grant the CAD users the right to rename the name of their EPMDocs and WTParts, even when they are released. The number and CADname must not be changable.

I haven't got this working with ootb acl. One solution would be to have a small jsp or seperate action, which let you just rename the name. But how can i run a certain task/method like the renaming under a diffrent user account (e.g. orgadmin)?

...

EPMDocumentMasterIdentity masterIdentity = (EPMDocumentMasterIdentity)master.getIdentificationObject();

masterIdentity.setName(newName);

IdentityHelper.service.changeIdentity((Identified) master, masterIdentity); //have to be executed with user orgadmin

...

Any other solutions are also welcome.

0 REPLIES 0
Announcements

Top Tags