# Access to application not provisioned

**URL:** <https://community.dreamfactory.com/t/access-to-application-not-provisioned/732>\
**Category:** Users & Roles\
**Created:** [January 3, 2015, 1:28pm UTC](https://community.dreamfactory.com/t/access-to-application-not-provisioned/732 "2015-01-03T13:28:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![benrich](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/benrich/32/197_2.png) [@benrich](https://community.dreamfactory.com/u/benrich)\
**Post date:** [January 3, 2015, 1:28pm UTC](https://community.dreamfactory.com/t/access-to-application-not-provisioned/732/1 "2015-01-03T13:28:46Z")

</div>

For the life of me I can’t query my database service as a guest or with a session token. Any help or insight would be fantastic.

GET method to [http://www.mydomain.com/rest/db/tournaments](http://www.mydomain.com/rest/db/tournaments) (header key: X-DreamFactory-Application-Name, value: frisbee)

This is to a new install of dreamfactory 1.8.2 on my linux box. If though I set everything up equally on the dreamfactory cloud it returns the tournament collection absolutely fine.

So this is the error I’m being returned (from my linux install): “Access to application ‘frisbee’ is not provisioned for this user’s role.”

My ‘frisbee’ app has a role assigned to it that’s also the Guest role in the global config (‘allow guest users’ also ticked). CORS access is \* for GET & POST (enabled). The role also has the DB service and the ‘tournaments’ table added under the Service Access tab (GET enabled).

This also applies but I can see in the DB the record required in the df\_sys\_app\_to\_role does exist: [Assigning apps to roles not saving?](https://community.dreamfactory.com/t/assigning-apps-to-roles-not-saving/731/1)

There’s obviously something going on with my install. Does anyone have any ideas?

Thanks!

---

<div class="post-metadata">

**Author:** ![jeffreystables](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/jeffreystables/32/173_2.png) [@jeffreystables](https://community.dreamfactory.com/u/jeffreystables)\
**Post date:** [January 16, 2015, 4:52pm UTC](https://community.dreamfactory.com/t/access-to-application-not-provisioned/732/2 "2015-01-16T16:52:04Z")

</div>

Perhaps your user has not destroyed and recreated his session after being assigned the new role? A new session must be initiated by the user after any changes, as roles are evaluated at session instantiation.
