This article will help when a user doesn't have permission to execute a Test.
Problem
Check in the image above the associated error:
Cause 1
The User does not have the necessary issue permissions: "Browse" and "Resolve"
Solution
Go to Project Settings → Permissions → Project Permissions:
Cause 2
The Test Execution issue is not in a Status configured to disallow executions.
Solution
Go to Administration → Manage Apps → Xray Settings → Miscellaneous, under the "Workflow Status" section, to the option "Disallow executions of Tests with workflow statuses," and check if you have any status that does not allow users to execute the Test:
Cause 3
The Test Executions are restricted to the assignee user.
Solution
Go to Administration → Manage Apps → Xray Settings → Miscellaneous, on the "Test Run Options" section; the third one may be activated "Restrict tests execution to assignee," disable this option to allow all given users to be the Test Run assignee:
Cause 4
Automated Test Statuses are restricted to be manually changed.
Solution
Go to Administration → Manage Apps → Xray Settings → Miscellaneous, on the "Test Run Options" section; please check if the option "Restrict automated Test Status" is enabled; if yes, disable this option to allow users to set manually the Test Status for Automated Tests, otherwise, those statuses can just be updated via import results via UI or API:
Related articles
Check here for more information.