Extending Permissions to Item Properties
Has anyone successfully extended permissions to the item property level? I need to configure property‑level permissions in Aras Innovator so that modification and visibility of specific properties on an ItemType are controlled by user identity, beyond the standard item‑level permission and lifecycle security. This cannot be a purely UI/visual restriction (e.g., hiding fields via Forms or client‑side methods only). It must be enforced as a true permission/authorization control so that users cannot modify restricted properties using AML, REST, external integrations, or custom clients. Example Situation: Starting with 3 ‘Property Permission’ sets, one for Electrical, Software, and Mechanical Each Permission Set has 4 identities, one for Mechanical Engineers, Electrical Engineers, Software Engineers, and Non-Engineers. The permissions allow all of the engineers to Discover / get, but only one engineering group can update, and non-engineers have no access. Then modifying the 'Property' itemtype to have a lookup property to permissions And creating an ItemType called ‘PropertyPermissionItemType’ with 3 properties 'owned' by the different engineering groups, linked to the previously created permissions And the idea is that these property Level permissions would determine who could view and update these properties. It seems like theres a basic structure for it, but what would have to be done to actually implement the permissions at this level?163Views0likes6CommentsJavascript Temporary Permissions
Good day all. I'm still using v11 SP10. How do I grant temporary permission for a user through Javascript? I want to add a Comments tab to our custom change ItemType. I have a script attached to an Action to open a dialog box so a user can add a comment. The Submit button runs another script to pull the comments field information and sends it back to the original script. The original script then creates a Comments relationship entry for the change. I have this working except when the change is in the In Review Life Cycle state for normal user, it works for admins. I want to temporarily grant Aras PLM identity to the user so it can be added. I don't want to allow users to be able to edit anything else in the change while it is In Review. Method: DEMO_Notes_Form // Aras Labs Project // Eli Donahue - 10/5/16 // // Call a custom form in a modal dialog // Perform some action based on the values returned from dialog // Aras Labs Project // Eli Donahue - 10/5/16 // // Call a custom form in a modal dialog // Perform some action based on the values returned from dialog var inn = new Innovator(); // var thisItem = document.getThis var topWnd = aras.getMostTopWindowWithAras(window); topWnd = topWnd.main || topWnd; // get form var formName = "DEMO_Change_Notes"; var fetchForm = this.getInnovator().newItem("Form","get"); fetchForm.setProperty("name",formName); fetchForm = fetchForm.apply("get"); // check form for error if (fetchForm.isError()) return alert("Can't find a form called " + formName); // get form params var params = { title: 'Change Notes', formId: fetchForm.getID(), // put your form's id here aras: aras, dialogWidth: 600, // set width int dialogHeight: 400, // set height int content: 'ShowFormAsADialog.html' }; var parentItem = parent.thisItem; var value = parentItem.getProperty("id",""); var userID = aras.getCurrentUserID(); var callback2 = function(res) { var innovator = new Innovator(); var partItem = innovator.newItem("sm_DEMO_NDR_Notes","add"); partItem.setProperty("source_id", value); partItem.setProperty("comments", res.param1); var resultItem = partItem.apply(); } // call form in dialog topWnd.ArasModules.Dialog.show("iframe", params).promise.then(callback2); return null; DEMO_SUBMIT-Notes // Aras Labs Project // Eli Donahue - 10/5/16 // // onClick field event for Submit button // Returns the form field values to the method that called the current dialog // get param1 field var wrapper1 = getFieldByName("comments"); var p1 = wrapper1.getElementsByTagName("textarea")[0]; // confirm fields were correctly retrieved if (!p1) { alert("Can't find field param1"); return; } // return entered values var retVal = {}; retVal["param1"] = p1.value; retVal["param2"] = sourceID; // retVal["searchResult"] = p3.value; parent.returnValue = retVal; parent.close();Solved129Views0likes4CommentsHow can i create new permission and add that in
Hello, How can i add new permission and add on add I am using the following mode, it is creating permission but not adding it Innovator inn = this.getInnovator(); string docid = this.getProperty("id",""); Item permissions = this.newItem("Permission", "add"); permissions.setProperty("name", docid); permissions = permissions.apply(); this.setProperty("permission_id", permissions.getID()); return this;Solved3.4KViews1like6CommentsPermission Per Item Control - Private Permissions
Hello, I am looking for a discussion/recommendation on a permissions question. For the Item Type Part, we want to do control on a part by part (Item) basis. I understand that we could do Private Permissions is there any other way? or is the Private Permission answer an acceptable way to do this.Solved135Views0likes3CommentsMAC Policy Issue in ARAS 31 – Need Help with Access Restrictions
Hi all, I’m working on implementing access restrictions for the a Itemtype in ARAS 31. There are around 46 records, and I want to group them into 5 categories. Each category will be assigned to specific identities, allowing controlled access based on the record's classification. To achieve this, I started configuring MAC policies. However, I’ve run into a few issues: The fields I need are disabled in the MAC Policy Condition Editor. User-defined properties are not accessible in the condition editor either. Has anyone faced similar challenges or found a workaround for this? Any help or guidance would be greatly appreciated! Thanks, Salini141Views0likes2CommentsUse Src Access on regular item type?
Hello Forums, I have a regular item type that is parent to some other regular item types. I.e. we have Item A that has a relationship to Item AB, and Item AB has a relationship to BB. A, AB, and BB are all regular items. I want A's permissions to cascade onto anything below, but it seems that 'Use Src Access' only goes as far as A to Ab (the relationship item), as opposed to also placing A's permissions onto AB. Can 'Use Src Access' reach AB and BB? Best Regards, Frank30Views0likes1CommentFeature licenses error when activate
We are using a stand-alone server currently until we get ARAS fully stood up, then we will go live. We received the feature license keys and went to activate feature key but we keep receiving the pictured error below. It also pops up upon entering our database. Has anyone seen the below error before?2KViews0likes4CommentsToggle visibility of Restricted files under Documents
The Document's Type field had to be updated to a new value that was added to the list. Batch loader was used to the edit the Document but this created a new Version and the State to Preliminary from Released. We did not want the new versions to be created. The new version of these Documents were purged. Now, under these Documents all the files show as "Restricted" however, they are visible to Admins. How do I make these files visible again. Screenshot below58Views0likes3CommentsChange permission for "view item" option(right click menu) of Documents under Operations
Under Process Plan(mpp_processPlans) --> Operations(mpp_operations) --> documents Some of these documents under an operation are "invalidated". The documents are assigned "invalidated" status from Document-->Part when the "valid" option is changed to "No"(screenshot below). The user has the ability to right click on the any of the documents and select "view item" (picture below) to open the document container (screenshot below). I need this "view item" functionality to work for a certain identity when the document is "invalid" Currently, if the document is "invalid" user can't open it from here but the document opens if one searched for it manually. I can't figure out where does this "view item" option come from and where and how was this right-click menu even generated. Can someone point me in the right direction, please. Thanks!32Views0likes2Comments