User not allowed to view a form after setting form permissions

  • 15 February 2022
  • 0 replies
  • 142 views

Userlevel 5
Badge +20
 

User not allowed to view a form after setting form permissions

kbt152697

PRODUCT
K2 Five
BASED ON
K2 Five (all)
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.

Issue

Scenario:
1. Create a K2 role ''Role Name" and add AAD user accounts to the role.

2. 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. Create 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. Viewing the form generates an error.

Symptoms

Viewing the form generates 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." 

Image

Troubleshooting Steps

To resolve this please do the following:

1. On the sub-category click on "Break Inheritance"

Image

2. On the sub-category set the security as below:
Everyone - View Deny
Everyone - Execute None
"Role Name" - View  allow
"Role Name" - Execute  allow


0 replies

Be the first to reply!

Reply