Hi Guys,
we are currently trying to build a custom shopify app that features user role based access. Is there any way to use the request from the app-admin or some other way to check which access level the currently logged in user has on the shopify admin?
If anyone has ideas or a solution would be great!
Hey again @Tim_Dehler
- right now, there’s not too much staff member /user data available to query via the API, but we do surface some info that might be helpful:
You can use the StaffMember object to pull their account type (the most relevant enums would be to see if they’re restricted members or if they can access the admin) and to see if they’re the shop owner.
At one point, I believe we did offer more user data on the object, but that has been deprecated. Hope this helps - more than happy to set up a feature request on my end here if you’d like to share a use case, definitely understand how this would be useful!
Hi @Alan_G, this insight helped a lot thanks!
1 Like
No worries - glad this helped, let me know if any can clarify anything as always! 