# All\_access role could not create data source connection

**URL:** <https://forum.opensearch.org/t/all-access-role-could-not-create-data-source-connection/20429>\
**Category:** OpenSearch Dashboards\
**Tags:** troubleshoot\
**Created:** [July 22, 2024, 2:40am UTC](https://forum.opensearch.org/t/all-access-role-could-not-create-data-source-connection/20429 "2024-07-22T02:40:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![TonyHuang](https://avatars.discourse-cdn.com/v4/letter/t/a9adbd/32.png) [@TonyHuang](https://forum.opensearch.org/u/TonyHuang)\
**Post date:** [July 22, 2024, 2:40am UTC](https://forum.opensearch.org/t/all-access-role-could-not-create-data-source-connection/20429/1 "2024-07-22T02:40:57Z")

</div>

**Versions** (relevant - OpenSearch/Dashboard/Server OS/Browser):

v2.13.0, OpenSearch Dashboard, built on AWS

**Describe the issue** :  
The account already has all\_access and security manager roles but could not create new data source connection via dashboard. I read [https://forum.opensearch.org/t/no-option-to-create-new-data-source-in-dashboards-ui/19748](https://forum.opensearch.org/t/no-option-to-create-new-data-source-in-dashboards-ui/19748) and checked that data source plugin is enabled. Does the account need more permission, like manually setting cluster:admin/opensearch/ql/datasources/create?  
Thank you!

**Configuration** :  
all\_access and security manager roles

**Relevant Logs or Screenshots** :

 ![image](https://us1.discourse-cdn.com/flex019/uploads/mauve_hedgehog/original/2X/2/217905291ddb524f74d5db3177bbc1cc84980582.png)

---

<div class="post-metadata">

**Author:** ![Mantas](https://avatars.discourse-cdn.com/v4/letter/m/7bcc69/32.png) [@Mantas](https://forum.opensearch.org/u/Mantas)\
**Post date:** [July 22, 2024, 12:16pm UTC](https://forum.opensearch.org/t/all-access-role-could-not-create-data-source-connection/20429/2 "2024-07-22T12:16:13Z")

</div>

Hi @TonyHuang,

What do you see in the logs? it usually specifies what permissions are missing is any.

Could you run the below (with the user) and share the output:

CURL

```auto
curl --insecure -u <user>:<password> -XGET https://<OS_node>:9200/_plugins/_security/authinfo?pretty

```

or UI dev tools

```auto

GET _plugins/_security/authinfo

```

best,  
mj

---

<div class="post-metadata">

**Author:** ![TonyHuang](https://avatars.discourse-cdn.com/v4/letter/t/a9adbd/32.png) [@TonyHuang](https://forum.opensearch.org/u/TonyHuang)\
**Post date:** [July 23, 2024, 5:58am UTC](https://forum.opensearch.org/t/all-access-role-could-not-create-data-source-connection/20429/3 "2024-07-23T05:58:25Z")

</div>

![image](https://us1.discourse-cdn.com/flex019/uploads/mauve_hedgehog/original/2X/2/27682a326ffd5ec4ad0da34df8ffe25f81f80eed.jpeg)

---

<div class="post-metadata">

**Author:** ![TonyHuang](https://avatars.discourse-cdn.com/v4/letter/t/a9adbd/32.png) [@TonyHuang](https://forum.opensearch.org/u/TonyHuang)\
**Post date:** [July 23, 2024, 6:02am UTC](https://forum.opensearch.org/t/all-access-role-could-not-create-data-source-connection/20429/4 "2024-07-23T06:02:45Z")

</div>

Hi @Mantas ,  
this is the output of running the script on UI dev tools. Is it because the project is built on AWS (using AWS openSearch Service) that I could not create a data source connection but only using API to upload data?  
I aim to add data from a mysql db, and create a dashboard.
