# GraphQL problems - Only have access to CurrentUser

**URL:** <https://community.appfarm.io/t/graphql-problems-only-have-access-to-currentuser/619>\
**Category:** Ask the community\
**Tags:** data-model\
**Created:** [August 15, 2023, 1:38pm UTC](https://community.appfarm.io/t/graphql-problems-only-have-access-to-currentuser/619 "2023-08-15T13:38:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![matt](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/matt/32/188_2.png) [@matt](https://community.appfarm.io/u/matt)\
**Post date:** [August 15, 2023, 1:38pm UTC](https://community.appfarm.io/t/graphql-problems-only-have-access-to-currentuser/619/1 "2023-08-15T13:38:30Z")

</div>

![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/1X/5eecd7cccff2fd37951db6ec4bd5da7a1d7a2c3a.png)

I launched the GraphQL IDE from Appfarm Create, made sure that several relevant data model objects are enabled in GraphQL, made sure I was logged into the appropriate user with correct permissions, but none of this seems to help.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/1X/75b1c17e905f3dc4a2c3b92da74f9398ad85bc60.png)

What else do I need to do in order to inspect the contents of a “Person” in the database?

Thanks very much in advance for your help!

---

<div class="post-metadata">

**Author:** ![matt](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/matt/32/188_2.png) [@matt](https://community.appfarm.io/u/matt)\
**Post date:** [August 15, 2023, 1:50pm UTC](https://community.appfarm.io/t/graphql-problems-only-have-access-to-currentuser/619/2 "2023-08-15T13:50:23Z")

</div>

![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/1X/ba6227784744780b484acad4aa3642ea62697d80.png)

---

<div class="post-metadata">

**Author:** ![kristian](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/kristian/32/58_2.png) [@kristian](https://community.appfarm.io/u/kristian)\
**Post date:** [August 15, 2023, 2:48pm UTC](https://community.appfarm.io/t/graphql-problems-only-have-access-to-currentuser/619/3 "2023-08-15T14:48:37Z")

</div>

Hi!

Is this Dev, or another environment? Seems to be up and running in Dev (see screenshots). If the problem exists in other environments, a deploy is required after enabling Object Classes for GraphQL in Appfarm Create.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/1X/9db4db9068b1e331c0395d2237737164f4325bf4.png)

---

<div class="post-metadata">

**Author:** ![matt](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/matt/32/188_2.png) [@matt](https://community.appfarm.io/u/matt)\
**Post date:** [August 15, 2023, 2:56pm UTC](https://community.appfarm.io/t/graphql-problems-only-have-access-to-currentuser/619/4 "2023-08-15T14:56:27Z")

</div>

Ah that explains it, I was working with our TEST environment. Thanks!
