Payload and React Native #9121
Replies: 3 comments
-
Up |
Beta Was this translation helpful? Give feedback.
-
We use Payload CMS API in mobile apps (SwiftUI, iOS and Compose, Android). |
Beta Was this translation helpful? Give feedback.
-
you need to write custom access rules on the collection objects and then it will work, i am referring to v3, I never tried in v2 |
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
I'm planning the tech stack for a new app with these core requirements:
User authentication;
Subscription-based paid content;
A user space for storing some files;
Built with React Native;
This same content will be displayed in a web app.
I considered using Payload CMS to manage users and subscriptions, but I’ve hit a roadblock. I can’t figure out how to restrict access to certain app features using Payload's RBAC (Role-Based Access Control). An API might bridge the gap, but I'm uncertain about configuring it to enforce access restrictions effectively.
Does anyone have experience with this? Is it feasible, or should I consider another approach?
Happy to provide more details if needed.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions