Questions Tagged With securityhttps://answers.axonivy.com/tags/security/?type=rssquestions tagged <span class="tag">security</span>enTue, 28 Apr 2020 03:59:51 -0400Can we configure multiple external security systems (e.g. LDAP)?https://answers.axonivy.com/questions/4540/can-we-configure-multiple-external-security-systems-e-g-ldap<p>The naming in <a href="https://developer.axonivy.com/doc/8.0/engine-guide/configuration/files/ivy-securitysystem-yaml.html#ivy-securitysystem-yaml">ivy.securitysystem.yaml</a> is plural as in <code>SecuritySystems</code>, not <code>SecuritySistem</code>.</p> <p>Does that mean that we can configure multiple LDAP services at the same time?</p>sorinTue, 28 Apr 2020 03:59:51 -0400https://answers.axonivy.com/questions/4540/can-we-configure-multiple-external-security-systems-e-g-ldapsecurityldapStatic JSF pages not found after updating to 8.0.4 / 9.1.0https://answers.axonivy.com/questions/4457/static-jsf-pages-not-found-after-updating-to-8-0-4-9-1-0<p>Since 8.0 you can create static JSF pages. Those pages can be accessed directly via a URL without being in an an HtmlDialog context. And until 8.0.3 they were still located in the <code>webContent</code> folder.</p> <p><strong>Are you affected?</strong></p> <p>If you used static pages and you upgrade to 8.0.4 your page will no longer be found by the engine.</p> <p><strong>What have changed?</strong></p> <p>To improve security, we changed the location to <code>webContent/view</code>. This helps you to decide which pages should be static and can be accessed directly. </p> <p><strong>How should your webContent folder look like?</strong></p> <p>If you use static pages, you should have a <code>view</code> folder, and if not, please do not use this folder. Your structure could look like something like the this:</p> <pre><code>webContent - META-INF/ - WEB-INF/ - view/ (static JSF pages -&gt; direct call possible) - includes/ (templates, dialogs, etc -&gt; no direct call allowed) - resources/ (images, css, js, etc. -&gt; no direct call allowed) </code></pre> <p><strong>Additional info</strong></p> <p>If you use static pages, you should consider securing them with a login.</p>Lukas LiebWed, 18 Mar 2020 03:02:35 -0400https://answers.axonivy.com/questions/4457/static-jsf-pages-not-found-after-updating-to-8-0-4-9-1-0securityjsfGhostcat vulnerability in Tomcat (CVE-2020-1938)https://answers.axonivy.com/questions/4456/ghostcat-vulnerability-in-tomcat-cve-2020-1938<p><strong>IMPORTANT NOTE FROM 2020-05-12</strong> Tomcat had a bug with AJP and IIS over HTTPS. Ivy 7.0.17 and 8.0.4/8.0.5 are affected by this bug. You will need to upgrade to 7.0.18 and 8.0.6.</p> <hr> <p>The Axon.ivy Digital Business Platform is using Tomcat as web server. <a href="https://www.chaitin.cn/en/ghostcat">Ghostcat</a> 👻😼 (<a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-1938">CVE-2020-1938</a>) is a security vulnerability in Tomcat and is related to the AJP protocol. AJP is a binary protocol and is used in conjunction with a reverse proxy like IIS or Apache httpd. A secure Axon.ivy Engine setup always includes a reverse proxy, like the following example:</p> <pre><code>Browser --&gt; (HTTP, HTTPS) --&gt; Reverse Proxy (IIS, Apache, ...) --&gt; (AJP) --&gt; Axon.ivy Engine </code></pre> <p>HTTP or HTTPS is also possible as communication protocol between the reverse proxy and the Axon.ivy Engine, but AJP is the most used setup, especially in Windows environments.</p> <p><strong>Are you affected by this vulnerability?</strong></p> <ul> <li><strong>8.0</strong> You are affected by this issue if you have explicitly enabled the AJP port and have not explicitly protected access to the Axon.ivy engine for example with a firewall.</li> <li><strong>7.0</strong> You are affected by this issue if you not have explicitly disabled the AJP port and have not explicitly protected access to the Axon.ivy engine for example with a firewall.</li> </ul> <p><strong>How to fix this without updating?</strong></p> <p>Is your reverse proxy running on the same host as the Axon.ivy Engine?</p> <ul> <li><strong>Yes.</strong> You need to bind the AJP port only to localhost by setting the property <code>Connector.AJP.Address</code> to <code>localhost</code> in <code>ivy.yaml</code> and restart the Axon.ivy Engine. The AJP port is now only available on the host itself. For Axon.ivy 7.0 you need to set the system property <code>WebServer.AJP.Address</code> to <code>localhost</code>.</li> <li><strong>No.</strong> Configure your network to ensure exclusive access between the reverse proxy and the Axon.ivy Engine. If this is not possible, you will need to setup a firewall on the host where the Axon.ivy Engine is running. Only requests from the reverse proxy must be allowed.</li> </ul> <p><strong>What will change in Axon.ivy 7.0.17 and 8.0.6?</strong></p> <p>Axon.ivy will come with the latest Tomcat version:</p> <ul> <li>Axon.ivy 8.0.6 comes with Tomcat 9.0.35</li> <li>Axon.ivy 7.0.18 comes with Tomcat 8.5.55</li> </ul> <p>Tomcat has changed the default behavior of the AJP port. AJP is now bound by default to localhost and not anymore to every network interface (nic). This means nobody can access the Axon.ivy Engine from another host via AJP. Furthermore the AJP port is now also disabled by default in Axon.ivy 7.0.18.</p> <p><strong>What do you have to do when upgrading to 7.0.18?</strong></p> <p>Is your reverse proxy running on the same host as the Axon.ivy Engine?</p> <ul> <li><strong>Yes.</strong> Just make sure that the system property <code>WebServer.AJP.Address</code> is empty after the upgrade. So we take the Tomcat default and the AJP port is only available locally.</li> <li><strong>No.</strong> You need to bind the AJP port to the public network address by setting the system property <code>WebServer.AJP.Address</code> to <code>YOUR_AXON_IVY_ENGINE_IP_ADDRESS</code>. Additionally, you need to configure your network to ensure exclusive access between the reverse proxy and the Axon.ivy Engine. If this is not possible, you will need to setup a firewall on the host where the Axon.ivy Engine is running. Only requests from the reverse proxy must be allowed.</li> </ul> <p>If you don't use a reverse proxy at all, then you need to disable the AJP port by setting the system property <code>WebServer.AJP.Enabled</code> to <code>false</code>.</p> <p><strong>What do you have to do when upgrading to 8.0.6?</strong></p> <p>Is your reverse proxy running on the same host as the Axon.ivy Engine?</p> <ul> <li><strong>Yes.</strong> Just make sure that <code>Connector.AJP.Address</code> in <code>ivy.yaml</code> is empty after the upgrade. So we take the Tomcat default and the AJP port is only available locally.</li> <li><strong>No.</strong> You need to bind the AJP port to the public network address by setting the property <code>Connector.AJP.Address</code> to <code>YOUR_AXON_IVY_ENGINE_IP_ADDRESS</code> in <code>ivy.yaml</code>. Additionally, you need to configure your network to ensure exclusive access between the reverse proxy and the Axon.ivy Engine. If this is not possible, you will need to setup a firewall on the host where the Axon.ivy Engine is running. Only requests from the reverse proxy must be allowed.</li> </ul> <p><strong>isapi.dll and mod_jk.so upgrades</strong></p> <p>We also bundle with the upcoming release the latest version of <code>isapi.dll</code> and <code>mod_jk.so</code>. They are needed by the reverse proxy (IIS, Apache httpd). We recommend to upgrade them on the reverse proxy as described in the <a href="https://developer.axonivy.com/doc/8.0.3/doc/migrationNotes/UpgradeApacheTomcatConnector.html">migration guide</a>.</p> <p><strong>What about <code>secret</code> and <code>secretRequired</code>?</strong></p> <p>You may have read something about secret or secretRequired. This is an alternative way to protect the communication between the reverse proxy and Axon.ivy Engine. We believe that a secure communication between the reverse proxy and the Axon.ivy Engine should be protected by firewall rules even in trusted networks and therefore this is not needed.</p> <p>If you don't have the same opinion, we would love to hear 👂 why!</p> <p>If you really want to use <code>secret</code> and <code>secretRequired</code>, you can define them in <code>ivy.yaml</code> (<a href="http://developer.axonivy.com/doc/nightly/engine-guide/configuration/files/ivy-webserver-yaml.html">see configuration</a>). Furthermore you need to define the secret itself in the <code>[worker.properties][5]</code> as part of the reverse proxy installation.</p> <p><strong>Security is important to us 💯 %</strong></p> <p>We, the platform development team, take security very seriously. If you have any questions or find other weaknesses, please do not hesitate to contact us.</p>Alex SuterTue, 17 Mar 2020 10:00:35 -0400https://answers.axonivy.com/questions/4456/ghostcat-vulnerability-in-tomcat-cve-2020-1938securitytomcatHow to set multiple responsible roles for a process start requesthttps://answers.axonivy.com/questions/4151/how-to-set-multiple-responsible-roles-for-a-process-start-request<p>How can we set more than one role as "Responsible role" on a Request Start element on the Request tab. Users with different roles (not able to organize under one commen role tree node) should see a process in the portal and should be able to start it.</p> <p>My workaround at the moment is to define two different start elements, which are identical except the responsible role. It works, but... If one user holds both roles, he will see two identical processes.</p> <p>Thanks for help.</p>Adrian ImfeldThu, 07 Nov 2019 09:49:11 -0500https://answers.axonivy.com/questions/4151/how-to-set-multiple-responsible-roles-for-a-process-start-requestprocessrequestsecurityroleretrieve user attributeshttps://answers.axonivy.com/questions/3959/retrieve-user-attributes<p>Hi All</p> <p>How can I retrieve attributes from a user that is not the logged in user? I would need to get the user's email and phone number durning a subprocess that is running as system. </p> <p>Any ideas are greatly appreciated.</p> <p>Many thanks in advance regards, p</p>peterw81Wed, 04 Sep 2019 09:50:52 -0400https://answers.axonivy.com/questions/3959/retrieve-user-attributessecurityFailed to generate random number within 10 secondshttps://answers.axonivy.com/questions/3402/failed-to-generate-random-number-within-10-seconds<p>Failed to generate random number within 10 seconds. This could slow down the JSF runtime dramatically. Please consider installing a secure random provider for 'SHA1PRNG'!</p>SupportIvyTeamFri, 17 Aug 2018 04:03:38 -0400https://answers.axonivy.com/questions/3402/failed-to-generate-random-number-within-10-secondsenginesecurityrandomHow to secure Rest Services from Ivy 6.2 with Authorization Bearer instead of Basichttps://answers.axonivy.com/questions/3338/how-to-secure-rest-services-from-ivy-6-2-with-authorization-bearer-instead-of-basic<p>As the tittle. I'm using Ivy version 6.2 and would like to know how to secure my REST Services using Bearer Authorization instead of basic. Thanks</p>thminhThu, 21 Jun 2018 07:31:33 -0400https://answers.axonivy.com/questions/3338/how-to-secure-rest-services-from-ivy-6-2-with-authorization-bearer-instead-of-basicsecurityapirestPermission to reassign taskshttps://answers.axonivy.com/questions/2935/permission-to-reassign-tasks<p>Hi there, what rights must a user or a role have in RIA Workflow UI to be able to reassign (delegate) tasks ?</p>YogiOLFri, 27 Oct 2017 06:12:50 -0400https://answers.axonivy.com/questions/2935/permission-to-reassign-taskssecurityIs ivy affected by the newly found Apache Tomcat RCE vulnerabilities (CVE-2017-12615 and CVE-2017-12617) ?https://answers.axonivy.com/questions/2880/is-ivy-affected-by-the-newly-found-apache-tomcat-rce-vulnerabilities-cve-2017-12615-and-cve-2017-12617<p>Two Remote code execution (RCE) security vulnerabilities affecting all versions of Apache Tomcat have been found last week.</p> <p><a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-12615">CVE-2017-12615 (RCE when readonly set to false, affects Tomcat &lt; 7.0.81 on Windows)</a></p> <p><a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-12617">CVE-2017-12617 (RCE when readonly set to false, affects all Tomcat versions on all Operating systems)</a></p> <p>Is ivy affected by the newly found Apache Tomcat RCE vulnerabilities (CVE-2017-12615 and CVE-2017-12617) ?</p>SupportIvyTeamMon, 25 Sep 2017 03:53:51 -0400https://answers.axonivy.com/questions/2880/is-ivy-affected-by-the-newly-found-apache-tomcat-rce-vulnerabilities-cve-2017-12615-and-cve-2017-12617securityIs it possible to access Ivy's RESTful API from an HtmlDialog or within the same session?https://answers.axonivy.com/questions/2462/is-it-possible-to-access-ivy-s-restful-api-from-an-htmldialog-or-within-the-same-session<p>Hi Ivy Team</p> <p>I have a HtmlDialog containing several links to our RESTful API (implemented using Axon.ivy). However, every time the user accesses to the API, the browser requires authentication even though the user has already logged in.</p> <p>I'm aware of the <code>javax.annotation.security.PermitAll/DenyAll</code> (-- which seems to be the only annotations supported?) but I want to keep the Basic authentication intact.</p> <p>Say the page could be like this:</p> <pre><code>&lt; !-- The HelloWorld dialog --&gt; &lt; h:html&gt; &lt; h:body&gt; &lt; h:outputLink value="/ivy/api/designer/helloworld" target="_blank"&gt; Click to see Hello World &lt; /h:outputLink&gt; &lt; h:outputLink value="/ivy/file/designer/session/some_file_already_created.txt" target="_blank"&gt; Get content of file &lt; /h:outputLink&gt; &lt; h:/body&gt; &lt; /h:html&gt; </code></pre> <p>The first link will require authentication whereas the second works normally.</p> <p>Is there a possible way to overcome this?</p>Genzer HawkerWed, 22 Feb 2017 08:26:22 -0500https://answers.axonivy.com/questions/2462/is-it-possible-to-access-ivy-s-restful-api-from-an-htmldialog-or-within-the-same-sessionsecurityrestChanging the Security Systemhttps://answers.axonivy.com/questions/2437/changing-the-security-system<p>Hello IvyTeam,</p> <p>Is it possible to change the security system of application once it has been set ?</p> <p><img alt="alt text" src="http://answers.axonivy.com/upfiles/1_fKOZof4.JPG"></p> <p>Let`s say I want to start with Ivy Users and at some point to change to Active Directory ?</p> <p>Best Regards, Yordan Yunchov</p>Stelt0Fri, 10 Feb 2017 09:52:07 -0500https://answers.axonivy.com/questions/2437/changing-the-security-systemsecurityadministrationserverIs there something managing user concurrent sessions?https://answers.axonivy.com/questions/2272/is-there-something-managing-user-concurrent-sessions<p>We need to implement a security enabling a user to be logged only in one session. We will either prevent him to log twice or kill any other session on login. </p> <p>Is there already something to support that (aka sessiob listener or session filter). </p>RemiMorinFri, 09 Dec 2016 21:54:58 -0500https://answers.axonivy.com/questions/2272/is-there-something-managing-user-concurrent-sessionssecurityauthenticationDisplay name of ivy rolehttps://answers.axonivy.com/questions/2046/display-name-of-ivy-role<p>Is there a possibility to set Ivy role the display name ? There sure is one in designer - roles editor. But i wonder if i can do such thing on server with 'living' roles. Or even those synchronized with Novell.</p>josef_koupalMon, 26 Sep 2016 14:03:59 -0400https://answers.axonivy.com/questions/2046/display-name-of-ivy-roleadministrationsecurityroleivyLogin needed for index page of Ivy serverhttps://answers.axonivy.com/questions/1957/login-needed-for-index-page-of-ivy-server<p>Hello IvyTeam (and Everybody) Currently we have a cloud server which hosts an Ivy server. For the security reason, can I force the user to pass login credentials to access the index page of the server? I would like to use it in the HTTPS as well. Thank you very much.</p>nam_haFri, 12 Aug 2016 05:02:18 -0400https://answers.axonivy.com/questions/1957/login-needed-for-index-page-of-ivy-serversecurityDisabling SSLv3 and SSLv2 in enginehttps://answers.axonivy.com/questions/1923/disabling-sslv3-and-sslv2-in-engine<p>Hi there</p> <p>How can I disable less secure encryption methods and use only TLS within the ivy engine?</p> <p>Thanks for your feedback, Sven</p>skilchenmannWed, 27 Jul 2016 16:18:10 -0400https://answers.axonivy.com/questions/1923/disabling-sslv3-and-sslv2-in-engineenginesecurityREST service securityhttps://answers.axonivy.com/questions/1858/rest-service-security<p>Hello All,</p> <p>What is the security context of the new REST services ? How to get/check the user that is consuming them ?</p> <p>Thanks a lot !</p> <p>Best Regards, Yordan Yunchov</p>Stelt0Mon, 04 Jul 2016 13:22:42 -0400https://answers.axonivy.com/questions/1858/rest-service-securitysecurityrestAdd Role permanently to User programmaticallyhttps://answers.axonivy.com/questions/1854/add-role-permanently-to-user-programmatically<p>Hi I want to assign a role to a user permanently in my software. And i need to this programmatically. Can anyone help me out? I tried the addRole function in IUsers but this is just temporary i think. Best regards Florian</p>Florian HitzThu, 30 Jun 2016 15:33:27 -0400https://answers.axonivy.com/questions/1854/add-role-permanently-to-user-programmaticallyaxon.ivysecurityAjax call from HTML Dialog to consume Web Service and REST Servicehttps://answers.axonivy.com/questions/1837/ajax-call-from-html-dialog-to-consume-web-service-and-rest-service<p>Hi All,</p> <p>I have the situation where from HTML dialog I need to make custom Ajax call to ivy Web Service in the same process. I`m wandering what would be the implications of this approach regarding the security context.</p> <p>The Ajax call will send a HTTP request with the cookie session of the currently logged user. Will this be enough for ivy engine to identify the user ?</p> <p>This question is also valid for the future release 6.2 when it comes to REST services.</p> <p>Best Regards, Yordan</p>Stelt0Thu, 23 Jun 2016 17:40:38 -0400https://answers.axonivy.com/questions/1837/ajax-call-from-html-dialog-to-consume-web-service-and-rest-servicehtmldialogsecurityajaxrestIvy permissions and system permissionhttps://answers.axonivy.com/questions/1829/ivy-permissions-and-system-permission<p>Is it safe to set all rights to granted in the Ivy Admin console for the role "Everybody"</p> <p>For example a user has the "UserAddRole" permission. If the webapp doesn't has the feature to add a role is it still somehow possible for the user to add a role?</p> <p>In other words: As long as the webapp controls the security itself, does it need the ivy security layer?</p>Michael KnightTue, 21 Jun 2016 17:37:18 -0400https://answers.axonivy.com/questions/1829/ivy-permissions-and-system-permissionsecurityHow to map AD group to Ivy role?https://answers.axonivy.com/questions/1404/how-to-map-ad-group-to-ivy-role<p>We like to manage the rights for our ivy applications over the Microsoft Active Directory. According the AD groups, ivy roles should automatically added to the ivy user. We have in mind to build some technical processes to do that. But we have some questions...<br> <br><b>Is it possible to read (lower) OU's of a user?</b><br> If we have the OU "ivy" to import all users and there is a OU "admin" under the OU "ivy", can we find out which users are in the OU "admin"? How can we get this information. Maybe some how like reading AD attributes?<br> <br><b>Is it possible to listen to the LDAP synchronisation of the ivy server?</b><br> Every times when the user synchronisation is finished, our code should be executed to add specified ivy roles to the user based on the AD OU's.</p> <p>Thank you for your support</p>Adrian ImfeldThu, 23 Jul 2015 12:24:42 -0400https://answers.axonivy.com/questions/1404/how-to-map-ad-group-to-ivy-rolesecurityactivedirectoryuserldapLDAP API call cachehttps://answers.axonivy.com/questions/1142/ldap-api-call-cache<p>Hi, we have some performance problems by communication with LDAP after switching from 4.3 to 5.0. I have two questions</p> <ul> <li>were there any changes intern by calling API (see bellow)</li> <li>are there any API methods which doesn't communicate with LDAP (using direct only ivy system database) ?</li> </ul> <p>Especially we use the following method</p> <ul> <li><code>ISecurityContext.findRole(...)</code></li> <li><code>IWorkflowSession.hasRole(IRole, Boolean)</code></li> </ul>tauserFri, 30 Jan 2015 15:26:48 -0500https://answers.axonivy.com/questions/1142/ldap-api-call-cachesecurityactivedirectoryldapPermission Denied: needs Permission SYSTEM but the Session is SYSTEMhttps://answers.axonivy.com/questions/1020/permission-denied-needs-permission-system-but-the-session-is-system<p>I have a strange Exception here: </p> <pre>Session 0 (SYSTEM) is not allowed to call method public ch.ivyteam.ivy.workflow.IProcessData ch.ivyteam.ivy.workflow.internal.Task.getInternalProcessData(). The session does not fulfill the permission rule SESSION IS SYSTEM</pre> <p>This says the Session has the permission SYSTEM but the call was denied because the Session has not the permission SYSTEM.</p> <p>Code is: </p><pre>final ITask task = Ivy.wfTask(); IProcessData ipd = Ivy.session().getSecurityContext() .executeAsSystemUser(new Callable&lt;iprocessdata&gt;() {<p></p> <pre><code> @Override public IProcessData call() throws Exception { return task.getInternalProcessData(); } }); </code></pre> </pre>HaraldWeberThu, 23 Oct 2014 10:52:10 -0400https://answers.axonivy.com/questions/1020/permission-denied-needs-permission-system-but-the-session-is-systemsecurityPermissions needed to call a API methodhttps://answers.axonivy.com/questions/1014/permissions-needed-to-call-a-api-method<p>Where can I find what permissions a user needs to call an Axon.ivy API method?</p>Reto WeissTue, 21 Oct 2014 09:58:46 -0400https://answers.axonivy.com/questions/1014/permissions-needed-to-call-a-api-methodsecurityDifference between UserReadAll or UserReadName Permission / Permission Overviewhttps://answers.axonivy.com/questions/1011/difference-between-userreadall-or-userreadname-permission-permission-overview<p>To read a users name (User.getName()) whitin a script element, I assigned the corresponding permission "UserReadAll" to the role the calling user owned. Nevertheless, ivy reports the Error "The session does not fulfill the permission rule SESSION (MATCHES THIS AND OWNS UserReadOwnName PERMISSION) OR OWNS UserReadName PERMISSION OR OWNS UserReadName@SYSTEM PERMISSION" After that, I added also the permission "UserReadName/UserReadFullName" and then it worked.</p> <p>What's the difference between "UserReadAll" and "UserReadName"? In my opinion, the "UserReadAll" permission should cover and allow all "Read" operations on a user object.</p> <p>Is there any documentation which explains the permission concept of ivy? I couldn't find any detailed information about in the documentation section available on the xpert.ivy download area.</p> <p>Thanks and regards, Stefan</p>StefanMon, 20 Oct 2014 10:35:24 -0400https://answers.axonivy.com/questions/1011/difference-between-userreadall-or-userreadname-permission-permission-overviewsecurityHow can I disable Permission checks?https://answers.axonivy.com/questions/744/how-can-i-disable-permission-checks<p>I have a process that does some administrative tasks that requires a lot of Axon.ivy permissions. The user that executes the task does not own all of the required permissions. </p> <p>But I as a process designer know what I do and I want to give the user the possibility to execute the administrative task without the necessary Axon.ivy permissions. I implement the security in the process itself by guarding the process start with a certain role for example. </p> <p>How can I disable programmatically Axon.ivy Security/Permission checks?</p>Reto WeissThu, 05 Jun 2014 09:39:21 -0400https://answers.axonivy.com/questions/744/how-can-i-disable-permission-checkssecurityJava blocks Rich Dialog applications and we cannot updatehttps://answers.axonivy.com/questions/707/java-blocks-rich-dialog-applications-and-we-cannot-update<p>My customer runs an Xpert.ivy server without the newest patches. Another customer runs an internal Xpert.ivy server and signs the server with a self generated certificate. With the newest JRE versions (1.7.51 and higher) the rich dialogs can no more be executed or do show a lot of security prompts. Is there a way to let these application run again?</p>MichaelDänzerTue, 20 May 2014 08:11:45 -0400https://answers.axonivy.com/questions/707/java-blocks-rich-dialog-applications-and-we-cannot-updaterichdialogsecurityjavaHow to grant permssions to a user or role in Designer?https://answers.axonivy.com/questions/654/how-to-grant-permssions-to-a-user-or-role-in-designer<p>How can I grant additional permissions to a user or role in Designer? There seems to be no editor to configure that.</p>Reto WeissFri, 25 Apr 2014 08:46:22 -0400https://answers.axonivy.com/questions/654/how-to-grant-permssions-to-a-user-or-role-in-designersecuritydesignerHow to reset a task back to state SUSPENDED cancelled by the userhttps://answers.axonivy.com/questions/649/how-to-reset-a-task-back-to-state-suspended-cancelled-by-the-user<p>(This question belongs to ivy 5.x)</p> <p>If a user opens a task (which presents a user dialog to him) and then, a little later he cancels the task (exits from user dialog), xpert.ivy finishes this task and set it's state to DONE. In such a case (after cancelling), the Task should go back to the state SUSPENDED it had before the user started it.</p> <p>I don't want to delete this task and recreate it, so I tried to reset the task by calling the method ivy.task.reset() in a script element after closing the user dialog, but ivy returns the following error message:</p> <p>"Session 1 (xyz) is not allowed to call method public void ch.ivyteam.ivy.workflow.internal.Task.reset(). The session does not fulfill the permission rule SESSION OWNS TaskReset PERMISSION OR OWNS TaskReset@SYSTEM PERMISSION"</p> <p>It's no problem to set this rights by the Administration Console, but it's not useful to set this right to all users created in ivy. Is there a way to set the appropriate permission within an ivy script element or is there another doing to reset a task?</p> <p>Thanks</p>Stefan KressigWed, 23 Apr 2014 23:07:42 -0400https://answers.axonivy.com/questions/649/how-to-reset-a-task-back-to-state-suspended-cancelled-by-the-usersecuritytaskHas the HeartBleed-Vulnerabilty an impact on Xpert.ivy?https://answers.axonivy.com/questions/627/has-the-heartbleed-vulnerabilty-an-impact-on-xpert-ivy<p>Has the <a href="http://heartbleed.com/">HeartBleed-Vulnerabilty</a> an impact on Xpert.ivy?</p>Nikel WeisFri, 11 Apr 2014 14:18:04 -0400https://answers.axonivy.com/questions/627/has-the-heartbleed-vulnerabilty-an-impact-on-xpert-ivysecurityPermissionDeniedException when calling iUser.getAllRoles()https://answers.axonivy.com/questions/548/permissiondeniedexception-when-calling-iuser-getallroles<p>My call to </p> <blockquote> <p><code>aUser.getAllRoles();</code></p> </blockquote> <p>throws the exception:</p> <blockquote> <p>PermissionDeniedException: Session 1 (cuongtruc.tran) is not allowed to call method public java.util.List ch.ivyteam.ivy.security.internal.User.getAllRoles(). The session does not fulfill the permission rule SESSION (MATCHES THIS AND OWNS UserReadOwnRoles PERMISSION) OR OWNS UserReadRoles PERMISSION OR OWNS UserReadRoles@SYSTEM PERMISSION</p> </blockquote> <p>I even tried with grant admin permisson to that user but still throws the same exception.</p>Tran Cuong TrucWed, 26 Feb 2014 05:16:00 -0500https://answers.axonivy.com/questions/548/permissiondeniedexception-when-calling-iuser-getallrolessecurityroleuser