In the role you created for guest users, check the box next to “example-application” and make sure the services you want access to are in the service access list below.
Did you figure it out? Make sure you grant correct CRUD permissions to the specific table for that role (or set database service access to * for test development). If you’re still having issues, contact support@dreamfactory.com and we’ll troubleshoot it with you.
He contacted me on the support line and was able to solve his own issue - we think that it was related to the “-” in his application name, so he potentially found a issue during the process.
Hi, we are facing this same error. Getting 403 error for users but not admin. CORS access set to * and guest users is disabled. Would really appreciate help. Thanks.
Users are able to login but when we do a get, we get the error
{
“error”: [
{
“context”: null,
“message”: “Access to application ‘admin’ is not provisioned for this user’s role.”,
“code”: 403
}
]
}
This is not a CORS issue but a permissions error. You must configure the role within the admin console to have access to this application. As it is, the app that you’re requesting access to is an admin app. Therefore you must grant user access to the admin app within your admin console.
Again, you can do this through the admin console - roles tab. Go into specific user’s role and grant them privileges to access the admin app. They can then access your admin app. This does not give the admin console (ui) for the user, which sounds like what you’re aiming for.
Having similar issue with 1.7.8 version. When trying to access a Remote SQL service called PlatformMasterDEV with a guest user, I am getting “Access to application ‘PlatformMasterDEV’ is not provisioned for this user’s role.”. I have enabled Guest users, Selected a valid Role that was setup with access to all methods enabled for the service. Please help. Having similar issue (same error) when trying to authenticate with a user that is not a SysAdmin by providing a valid session token id. The only way I was able to get it working was with authentication as a SysAdmin user.
We are not returning to 1.7.8 to resolve issues at this time. If this is not a result of your configuration, then it may indeed be a bug that was resolved in the 1.x product long after version 1.7.8 was released in September 2014. The last 1.x version was 1.9.4, released in June 2015. The current version is 2.0.
Thanks for the quick reply. I have installed v.1.9.4 and still having the same issue. Guest access is not working for Remote DB service. User based access to the same service works only when the user is a system admin. Any help would be appreciated.
Have you checked out this post that covers, from start to finish, making a service available to the guest role in 1.9.4? Make sure you’ve completed each step.