User not allowed to view a form after setting form permissions

This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.


In this scenario the user did the following:
1. Created a K2 role ''Role Name" and added a few AAD user accounts to the role.

2. Then set the security on the category (highest object node) to:
Everyone - View deny
Everyone - Execute allow
"Role Name" - View allow
"Role Name"- Execute allow

3. Then added a Form:"Form Name" in the sub-category with the below additional rights:
Everyone - View deny
Everyone - Execute Deny
"Role Name" - View Inherited allow
"Role Name" - View Inherited allow

4. When trying to view the form:"Form Name" the user received an error.


When trying to view the form: "Form Name" the user gets the following error:
"Form ’Form Name ’ could not be found. Ensure that the form exists, that it is checked in, and that you are authorized to run the form.


Troubleshooting Steps

To resolve this, go to the sub-category and click the "Break Inheritance" button below the roles and groups:


Then on the sub-category,  change the following as below:
Everyone - View Deny
Everyone - Execute None
"Role Name" - View  allow
"Role Name" - Execute  allow