---
title: "[Xray Server] No permissions to execute Test Executions"
canonical: "https://docs.getxray.app/space/ProductKB/46268471/%5BXray%20Server%5D%20No%20permissions%20to%20execute%20Test%20Executions"
format: markdown
---
This article will help when a user doesn't have permission to execute a Test. 

> Macro (toc)

# [Problem](https://getxraydocs.atlassian.net/wiki/pages/createpage.action?spaceKey=productkb&title=Problem&linkCreation=true&fromPageId=46268471)

Check in the image above the associated error:

![image](media://82e3ec14-72b9-49a3-a85b-879695df800e)

## [Cause 1](https://getxraydocs.atlassian.net/wiki/pages/createpage.action?spaceKey=productkb&title=Solution%201&linkCreation=true&fromPageId=46268471)

The User does not have the necessary issue permissions: **"Browse"** and **"Resolve"**

### Solution

Go to Project Settings → Permissions → Project Permissions:

![image](media://e2202618-44ca-4fed-8135-39ac2e14c7d7)

![image](media://27b0a920-06ac-4140-8669-b3f75bcbb634)


## [Cause 2](https://getxraydocs.atlassian.net/wiki/pages/createpage.action?spaceKey=productkb&title=Solution%202&linkCreation=true&fromPageId=46268471)

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:

![image](media://6e042bba-1f5a-4bf3-ab3e-32edf5b04485)

## [Cause 3](https://getxraydocs.atlassian.net/wiki/pages/createpage.action?spaceKey=productkb&title=Solution%203&linkCreation=true&fromPageId=46268471)

<span style="color: #000000">The Test Executions are restricted to the assignee user.</span>

### <span style="color: #000000">Solution</span>

<span style="color: #000000">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:</span>

![image](media://84884f37-a350-4180-94c1-556283657994)



## [Cause ](https://getxraydocs.atlassian.net/wiki/pages/createpage.action?spaceKey=productkb&title=Solution%203&linkCreation=true&fromPageId=46268471)4

<span style="color: #000000">Automated Test Statuses are restricted to be manually changed. </span>

### <span style="color: #000000">Solution</span>

<span style="color: #000000">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:</span>


![image](media://2f1c853f-feae-4373-8f1a-e2417bf814f6)


## Related articles

Check [here](https://confluence.xpand-it.com/display/public/XRAY/Execute+Tests) for more information. 

> Macro (contentbylabel)

> Macro (details)
> 
> | **Related issues** | > Macro (jira) |
> | --- | --- |